Add discordapp invite filter
This commit is contained in:
parent
7833a41ffd
commit
fbdf26ff7a
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ export default {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Do not allow discord invites
|
// Do not allow discord invites
|
||||||
if (tweet.includes('discord.gg') || tweet.includes('discord.com/invite/')) {
|
if (tweet.includes('discord.gg') || tweet.includes('discord.com/invite/') || tweet.includes('discordapp.com/invite/')) {
|
||||||
await interaction.editReply({ content: 'No discord invites allowed.' });
|
await interaction.editReply({ content: 'No discord invites allowed.' });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue