let
channel = m.gchannel
- if rand(100) < 02:
- await m.react("distorted_face:1541167187694460999")
-
- if rand(100) < 06:
+ if rand(100) < 04:
let messages = ["gimme balls", "balls", "more balls"]
echo "sending to balls channel"
- discard await discord.api.sendMessage(ballsChannel, messages[rand(messages.high)])
+ discard await discord.api.sendMessage(ballsChannel, messages[rand(
+ messages.high)])
if m.author.username == "mooooooo0":
- if rand(100) < 03:
+ if rand(100) < 02:
await m.react("🫡")
if rand(100) < 02:
discard await m.reply("what that guy said", mention = true)
if m.referenced_message.isSome():
- if m.referenced_message.get().author.username == "moo bot" and not (m.author.id == getOutBot):
+ if m.referenced_message.get().author.username == "moo bot" and not (
+ m.author.id == getOutBot):
discard await m.reply("it is I", mention = true)
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) < 45:
+ if m.author.id == getOutBot and (m.referenced_message.isNone or
+ m.referenced_message.get.author.username != "moo bot"):
let responses = ["stfu bot", "get a load of this guy ^^", "NERD ALERT 🚨", "stfu clanker"]
discard await m.reply(responses[rand(responses.high)], mention = true)
if rand(100) < 05:
- let emojis = ["🥵", "🥶", "🤯", "🤓", "🫦", "🪱", "🦧"]
+ let emojis = ["🥵", "🥶", "🤯", "🤓", "🫦", "🪱", "🦧", "distorted_face:1541167187694460999"]
await m.react(emojis[rand(emojis.high)])
if m.mention_users.len > 0:
# Connect to Discord and run the bot.
-waitFor discord.startSession(gateway_intents={
+waitFor discord.startSession(gateway_intents = {
giGuilds,
giGuildEmojisAndStickers,
giGuildMessages,
giDirectMessages,
giDirectMessageReactions,
giMessageContent
- }) # Don't forget to specify the gateway_intent argument and double check your priviliged intent
+ }) # Don't forget to specify the gateway_intent argument and double check your priviliged intent