3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-16 14:11:50 +00:00

discordapp to discord

This commit is contained in:
Dark 2020-05-05 15:14:41 +02:00
parent ca3016d945
commit cb3a6c310d

View file

@ -1600,7 +1600,7 @@ export class AutomodPlugin extends ZeppelinPlugin<TConfigSchema, ICustomOverride
public getActionedMessageLink(matchResult: AnyTriggerMatchResult): string { public getActionedMessageLink(matchResult: AnyTriggerMatchResult): string {
if (matchResult.type === "message" || matchResult.type === "embed") { if (matchResult.type === "message" || matchResult.type === "embed") {
return `https://discordapp.com/channels/${this.guild.id}/${matchResult.messageInfo.channelId}/${matchResult.messageInfo.messageId}`; return `https://discord.com/channels/${this.guild.id}/${matchResult.messageInfo.channelId}/${matchResult.messageInfo.messageId}`;
} else { } else {
return ``; return ``;
} }