diff --git a/src/structure/components/observers/CommandHandler.js b/src/structure/components/observers/CommandHandler.js index a20a495..a739608 100644 --- a/src/structure/components/observers/CommandHandler.js +++ b/src/structure/components/observers/CommandHandler.js @@ -40,7 +40,9 @@ class CommandHandler extends Observer { } if(message.guild) { - if(!message.member) await message.guild.members.fetch(message.author.id); + if (!message.member) await message.guild.members.fetch(message.author.id).catch(() => { + this.logger.warn(`Missing member for message in guild?\nGuild: ${message.guild.id} - ${message.author.tag} (${message.author.id})`); + }); } const messageWrapper = new MessageWrapper(this.client, message);