diff --git a/README.md b/README.md index 940b88f223c6288a97dce9ddb5206fec9b40ec67..e83c50015e4576a5b5904c27bc4c0d14af211e78 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Matrix Discord Bridge -A bridge between [Matrix](http://matrix.org/) and [Discord](https://discordapp.com/). +A bridge between [Matrix](http://matrix.org/) and [Discord](https://discord.com/). Currently the bridge is in **Beta** and quite usable for everyday bridging, with one or two bugs cropping up. diff --git a/docs/howto.md b/docs/howto.md index f43902f5b683228d426dabb541354ff0b4538d32..e6b01f3651a76602e07a0ea036ca3eac8620dba2 100644 --- a/docs/howto.md +++ b/docs/howto.md @@ -7,9 +7,9 @@ The default format for room aliases (which are automatically resolved, whether t You can find these on discord in the browser where: -``https://discordapp.com/channels/282616294245662720/282616372591329281`` +``https://discord.com/channels/282616294245662720/282616372591329281`` -is formatted as https://discordapp.com/channels/``guildid``/``channelid`` +is formatted as https://discord.com/channels/``guildid``/``channelid`` ### Set privileges on bridge managed rooms diff --git a/src/bot.ts b/src/bot.ts index 4969b885fca68c194884d630c0b67d0d2346f9dc..472a8c3e5309abbdcb09928b671a5fc427759cdb 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -467,7 +467,7 @@ export class DiscordBot { }); return; } - const link = `https://discordapp.com/channels/${chan.guild.id}/${chan.id}/${editEventId}`; + const link = `https://discord.com/channels/${chan.guild.id}/${chan.id}/${editEventId}`; embedSet.messageEmbed.description = `[Edit](${link}): ${embedSet.messageEmbed.description}`; await this.send(embedSet, opts, roomLookup, event); } catch (err) { diff --git a/src/util.ts b/src/util.ts index 2bbf4122b415ccf4bc32a308e62ea8914fd7df2d..601a6148d94889c848c1d011ec9f1b076e68258f 100644 --- a/src/util.ts +++ b/src/util.ts @@ -121,7 +121,7 @@ export class Util { const clientId = config.auth.clientID; - return `https://discordapp.com/api/oauth2/authorize?client_id=${clientId}&scope=bot&permissions=${perms}`; + return `https://discord.com/api/oauth2/authorize?client_id=${clientId}&scope=bot&permissions=${perms}`; } public static async GetMxidFromName(intent: Intent, name: string, channelMxids: string[]) {