mirror of
https://github.com/System-End/Discord-Bot.git
synced 2026-04-19 16:28:26 +00:00
Fixed bug automod
This commit is contained in:
parent
4237726859
commit
38f7782f50
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ module.exports = async (client, interaction, args) => {
|
|||
type: 'editreply'
|
||||
}, interaction);
|
||||
}
|
||||
if(!data.Words) data.Words = [];
|
||||
data.Words.push(word);
|
||||
data.save();
|
||||
blacklistedWords.get(interaction.guild.id).push(word);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue