From 89020ef19b1db46f9dc8bc8698eeb9be3ac02e9b Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 6 Nov 2024 13:59:21 -0500 Subject: feat: added more commands, also made it so in on_message, all message reads are in lower case --- main.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'main.py') 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 -- cgit v1.2.3