From: Taran Nathan Date: Sun, 23 Aug 2026 23:28:11 +0000 (-0700) Subject: numbies X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=1602f08546ff40531d7eed72d9dde69449d9e7aa;p=moo-bot.git numbies --- diff --git a/src/bot.nim b/src/bot.nim index 327c589..04c3982 100644 --- a/src/bot.nim +++ b/src/bot.nim @@ -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"):