forked from threeoh6000/joltik
be nice
This commit is contained in:
parent
b487bf6906
commit
580173f2d8
1 changed files with 2 additions and 2 deletions
4
bot.lua
4
bot.lua
|
@ -52,7 +52,7 @@ client:on('messageCreate', function(message)
|
||||||
if message.content == prefix .. 'ping' and message.author.id == client.owner.id then
|
if message.content == prefix .. 'ping' and message.author.id == client.owner.id then
|
||||||
message.channel:send({embed = {title = "Ping?",description = "Pong!",color = 0x00FFFF}})
|
message.channel:send({embed = {title = "Ping?",description = "Pong!",color = 0x00FFFF}})
|
||||||
end
|
end
|
||||||
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
|
if message.guild.id == "1209971237770498088" and string.find(message.content:lower(), "sako") and string.find(message.content:lower(), "lovely") and message.author.id ~= client.user.id then
|
||||||
local counter = load("counter.txt")
|
local counter = load("counter.txt")
|
||||||
counter = tonumber(counter)
|
counter = tonumber(counter)
|
||||||
message:addReaction("1️⃣")
|
message:addReaction("1️⃣")
|
||||||
|
@ -61,7 +61,7 @@ client:on('messageCreate', function(message)
|
||||||
end
|
end
|
||||||
if message.content == prefix .. 'sacounter' and message.author.id ~= "1152611181601759326" then
|
if message.content == prefix .. 'sacounter' and message.author.id ~= "1152611181601759326" then
|
||||||
local counter = load("counter.txt")
|
local counter = load("counter.txt")
|
||||||
message.channel:send("**we have told sako to shut up ".. counter .. " times**")
|
message.channel:send("**we have said that sako is lovely ".. counter .. " times**")
|
||||||
end
|
end
|
||||||
if message.content == prefix .. 'shutdown' then
|
if message.content == prefix .. 'shutdown' then
|
||||||
if message.author.id == "867901290336223242" then
|
if message.author.id == "867901290336223242" then
|
||||||
|
|
Reference in a new issue