diff --git a/bot.lua b/bot.lua index d36f616..1888a6e 100644 --- a/bot.lua +++ b/bot.lua @@ -52,7 +52,7 @@ client:on('messageCreate', function(message) if message.content == prefix .. 'ping' and message.author.id == client.owner.id then message.channel:send({embed = {title = "Ping?",description = "Pong!",color = 0x00FFFF}}) end - if string.find(message.content:lower(), "sako") and ((string.find(message.content:lower(), "shut")) and string.find(message.content:lower(), "up") or (string.find(message.content:lower(), "stfu")) or (string.find(message.content:lower(),"quiet"))) and message.author.id ~= client.user.id then + if message.guild.id == "1209971237770498088" and string.find(message.content:lower(), "sako") and ((string.find(message.content:lower(), "shut")) and string.find(message.content:lower(), "up") or (string.find(message.content:lower(), "stfu")) or (string.find(message.content:lower(),"quiet"))) and message.author.id ~= client.user.id then local counter = load("counter.txt") counter = tonumber(counter) message:addReaction("1️⃣")