diff options
author | Josh <eeei3.joshua0307lol@gmail.com> | 2024-11-06 13:59:21 -0500 |
---|---|---|
committer | Josh <eeei3.joshua0307lol@gmail.com> | 2024-11-06 13:59:21 -0500 |
commit | 89020ef19b1db46f9dc8bc8698eeb9be3ac02e9b (patch) | |
tree | 9ce5d42157d4802b905e7acf05e488168b7420b4 /main.py | |
parent | 9739c7b87349373588e0fb4786093cf9ae0189e6 (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.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |