diff --git a/bot.js b/bot.js index 1969503..2a5560d 100644 --- a/bot.js +++ b/bot.js @@ -898,6 +898,9 @@ client.on('messageUpdate', (originalMessage, editedMessage) => { }); client.on('channelCreate', channel => { + if (channel.type === "dm") { + return; + } const channelID = channel.id; const channelType = channel.type; let channelCategory;