diff --git a/README.md b/README.md index 67a52627cf5faf2b1cffa111d3f114fbb5b00a64..a894a82bd5cabec05d02a70ab8a7c21e597c4b9a 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 5190207effcb615a53add6ec4306e1f69d1060a0..3657a390e0f7641770321950ab684d40cab68bfb 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 c24f42e94ae014a0f58c1138f8637ff6bf7fb98d..43b55e3d89bded37f13fdefba7f4ce56c4f2df60 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 2f68f1d3236f1e2085a49ab7aa5394aac68b339e..82bd985bd27c75ec133b7241ad6dbc20c4dd3f87 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[]) {