diff --git a/src/main.ts b/src/main.ts index 15a9f77..80839a1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -17,7 +17,10 @@ async function main(): Promise { await client.loadEvents(); await client.loadCommands(); client.connect(); - client.once('ready', () => client.on('debug', (message) => (client.getChannel('592170164322041856') as TextChannel).createMessage(message))); + client.once('ready', () => client.on('debug', (message) => { + if (message.includes('/messages')) return; + (client.getChannel('592170164322041856') as TextChannel).createMessage(message); + })); } main();