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 | |
parent | 9739c7b87349373588e0fb4786093cf9ae0189e6 (diff) |
feat: added more commands, also made it so in on_message, all message reads are in lower case
-rw-r--r-- | bigresult.py | 38 | ||||
-rw-r--r-- | main.py | 9 |
2 files changed, 37 insertions, 10 deletions
diff --git a/bigresult.py b/bigresult.py index e9de421..3d8c2c4 100644 --- a/bigresult.py +++ b/bigresult.py @@ -8,41 +8,59 @@ class BotClient(commands.Bot): async def on_ready(self): print("The big result bot is ready!") for guild in self.guilds: - break; + break await self.send_msg("Hurlo") async def on_message(self, message): + self.state = 0 roblox = discord.utils.get(self.emojis, name="roblos") await self.process_commands(message) + fuckyou = message.content.lower() if message.author == self.user: return if (random.randint(1, 2000) == 1984): await message.reply("thats crazy") return - if ("1984" in message.content): - await message.reply("kys") + if ("1984" in fuckyou): + await message.reply("kys ") return - if ("roblox" in message.content): + if ("roblox" in fuckyou or "roblo" in fuckyou or "road blocks" in fuckyou ): await message.add_reaction(roblox) await message.reply("life is roblox\nhttps://cdn.discordapp.com/attachments/890681829915508806/1066566357694562374/DJ_Khaled.mp4?ex=6728ee13&is=67279c93&hm=7a2c5e3c85d42ee07c420424fc26970f502e941f9d1c45324b42270184a17b65&") return - if ("matrix" in message.content): + if ("matrix" in fuckyou ): await message.reply("be a good kitten") return - if ("gift card" in message.content): + if ("gift card" in fuckyou ): await message.reply("DO NOT REDEEM! DO NOT REDEEM THE CARD!") + self.state = 1 return - if ("andrew tate" in message.content.lower()): + if ("andrew tate" in fuckyou ): await message.reply("andro tate") return - if ("gamba" in message.content.lower() or "gamble" in message.content.lower() or "bet" in message.content.lower()): + if ("gamba" in fuckyou or "gamble" in fuckyou or "bet" in fuckyou ): await message.reply("Google Expected Value") return - if ("sex" in message.content.lower()): + if ("sex" in fuckyou ): if self.voice_clients is None: return + if ("im gonna redeem" in fuckyou and self.state == 1): + await message.reply("NOOOOOOOOOOOOO NO NO NOOOOOOOOOO!") + self.state = 0 + return + if ("president" in fuckyou or "trump" in fuckyou or "kamala" in fuckyou): + await message.reply("Should have voted for Taylor Swift and Al Gore, Swift-Gore") + return + if ("?" in fuckyou and random.randint(1, 2000) == 1984): + await message.reply("did you attend?") + await message.reply("were you there?") + await message.reply("were you listening?") + await message.reply("why do you ask?") + return + + async def send_msg(self, msg): - channel = self.get_channel(890681829915508806) + channel = self.get_channel(427176475406630914) await channel.send(msg) @@ -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 |