Skip to content
Extraits de code Groupes Projets
Valider 46605202 rédigé par David Vo's avatar David Vo
Parcourir les fichiers

Update user-facing discordapp refs to discord

parent c29cfc72
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
# 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.
......
......@@ -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
......
......@@ -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) {
......
......@@ -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[]) {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter