From b487bf6906839273ca7696068e596047f1d1df90 Mon Sep 17 00:00:00 2001 From: threeoh6000 Date: Mon, 5 Aug 2024 19:05:56 +0100 Subject: [PATCH] hmm --- bot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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️⃣")