Fixed bug automod

This commit is contained in:
CorwinDev 2022-12-24 11:59:57 +01:00
parent 4237726859
commit 38f7782f50

View file

@ -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);