]> git.taranathan.com Git - moo-bot.git/commitdiff
numbies
authorTaran Nathan <moogoesmeow123@gmail.com>
Sun, 23 Aug 2026 23:28:11 +0000 (16:28 -0700)
committerTaran Nathan <moogoesmeow123@gmail.com>
Sun, 23 Aug 2026 23:28:17 +0000 (16:28 -0700)
src/bot.nim

index 327c5893114bdb3ef4810b2e128056a80e18bcce..04c398275807616b2305b122e82d4823d53c2d77 100644 (file)
@@ -46,7 +46,7 @@ proc messageCreate(s: Shard, m: Message) {.event(discord).} =
   if m.content.contains("moo") or m.content.contains("taran"):
     discard await m.reply("ig bro", mention = true)
 
-  if m.author.id == getOutBot and rand(100) < 55:
+  if m.author.id == getOutBot and rand(100) < 65:
     let responses = ["stfu bot", "get a load of this guy ^^", "NERD ALERT ðŸš¨"]
     discard await m.reply(responses[rand(responses.high)], mention = true)
 
@@ -55,7 +55,7 @@ proc messageCreate(s: Shard, m: Message) {.event(discord).} =
     await m.react(emojis[rand(emojis.high)])
 
   if m.mention_users.len > 0:
-    if m.mention_users[0].username == "moo bot":
+    if m.mention_users[0].username == "moo bot" and not (m.author.id == getOutBot):
       discard await m.reply("wassup", mention = true)
 
   if m.content.contains("simon says kys"):