summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorJosh <eeei3.joshua0307lol@gmail.com>2024-11-06 13:59:21 -0500
committerJosh <eeei3.joshua0307lol@gmail.com>2024-11-06 13:59:21 -0500
commit89020ef19b1db46f9dc8bc8698eeb9be3ac02e9b (patch)
tree9ce5d42157d4802b905e7acf05e488168b7420b4 /main.py
parent9739c7b87349373588e0fb4786093cf9ae0189e6 (diff)
feat: added more commands, also made it so in on_message, all message reads are in lower case
Diffstat (limited to 'main.py')
-rw-r--r--main.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/main.py b/main.py
index 7cbc345..e0074b1 100644
--- a/main.py
+++ b/main.py
@@ -3,6 +3,7 @@ import os
import discord
from dotenv import load_dotenv
from bigresult import BotClient
+import random
from discord.ext import commands
load_dotenv()
@@ -29,4 +30,12 @@ async def orwell(ctx):
async def teachbigresult(ctx):
await ctx.reply("take b36 with Nick Cheng. join the 'Big Result' club")
+@client.commad(name="ivotedfor")
+async def voot(ctx):
+ if (random.randint(1, 2) == 2):
+ await ctx.reply("Donald trump sweeep")
+ else:
+ await ctx.reply("Kamala harris sweeep")
+
+
client.run(TOKEN) # This actually starts our bot