fix(bot-discord): fix db collection name

This commit is contained in:
GramingFoxTeam
2023-08-10 15:07:33 +03:00
parent 44fe77d21a
commit 442d5884dc
5 changed files with 8 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ export default {
name: Events.GuildMemberAdd,
once: false,
async execute(_, config, member) {
const mute = await client.db.collection('mute').findOne({
const mute = await client.db.collection('mutes').findOne({
guild_id: member.guild.id,
user_id: member.id
});