diff --git a/package.json b/package.json index e575e747..ca61f3f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "112.20.4", + "version": "112.20.5", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": { diff --git a/structures/commands/AutoReply.js b/structures/commands/AutoReply.js index a9daa31e..28b319e7 100644 --- a/structures/commands/AutoReply.js +++ b/structures/commands/AutoReply.js @@ -8,7 +8,7 @@ module.exports = class AutoReplyCommand extends Command { } run(msg, args, fromPattern) { - if (msg.guild && this.client.botListGuilds.includes(msg.guild.id)) return null; + if (msg.guild && this.client.botListGuilds.includes(msg.guild.id) && fromPattern) return null; return this.reply ? msg.reply(this.generateText(fromPattern)) : msg.say(this.generateText(fromPattern)); }