From 57583ea03023637f1ea66414802f69a283d49a41 Mon Sep 17 00:00:00 2001
From: Seth Falco <seth@falco.fun>
Date: Thu, 4 Aug 2022 21:56:06 +0200
Subject: [PATCH] Replace discordapp.com with discord.com (#724)

* docs: update discordapp.com to discord.com

Signed-off-by: Seth Falco <seth@falco.fun>

* add visualstudiocode to gitignore

Signed-off-by: Seth Falco <seth@falco.fun>
---
 .gitignore                  | 6 ++++++
 README.md                   | 2 +-
 src/matrixcommandhandler.ts | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 9ae268b..496b396 100644
--- a/.gitignore
+++ b/.gitignore
@@ -53,3 +53,9 @@ build
 
 *.db
 *.db.backup
+
+.vscode/
+*.code-workspace
+
+# Local History for Visual Studio Code
+.history/
diff --git a/README.md b/README.md
index 51c2c46..5179f01 100644
--- a/README.md
+++ b/README.md
@@ -98,7 +98,7 @@ should show up in the network list on Element and other clients.
 
 ### Setting up Discord
 
-* Create a new application via https://discordapp.com/developers/applications
+* Create a new application via https://discord.com/developers/applications
 * Make sure to create a bot user. Fill in ``config.yaml``
 * Run ``yarn addbot`` to get a authorisation link.
 * Give this link to owners of the guilds you plan to bridge.
diff --git a/src/matrixcommandhandler.ts b/src/matrixcommandhandler.ts
index 9d2ae79..baf8cda 100644
--- a/src/matrixcommandhandler.ts
+++ b/src/matrixcommandhandler.ts
@@ -65,7 +65,7 @@ export class MatrixCommandHandler {
                     "4. In the matrix room, send the message `!discord bridge <guild id> <channel id>` " +
                     "(without the backticks)\n" +
                     "   Note: The Guild ID and Channel ID can be retrieved from the URL in your web browser.\n" +
-                    "   The URL is formatted as https://discordapp.com/channels/GUILD_ID/CHANNEL_ID\n" +
+                    "   The URL is formatted as https://discord.com/channels/GUILD_ID/CHANNEL_ID\n" +
                     "5. Enjoy your new bridge!",
                 /* eslint-enable prefer-template */
                 params: ["guildId", "channelId"],
-- 
GitLab