fix channelId issue

This commit is contained in:
KWE26 2025-09-11 07:42:07 +00:00
parent a16a7a773c
commit 489b82bd7d
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ const initMessageManager = async (
discord.on(Events.MessageCreate, (message) => {
if(message.author.bot) return;
database.search("xan.guilds", {
serverId : message.guild.id
serverId : message.guild.id,
channelId: message.channel.id,
}, async (data) => {
if(data !== null){