summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh <eeei3.joshua0307lol@gmail.com>2024-11-03 11:04:58 -0500
committerJosh <eeei3.joshua0307lol@gmail.com>2024-11-03 11:04:58 -0500
commitdc2781781857c90834f27373ba3362719875ae84 (patch)
tree8a8f4fd639b2448b94fd2b8630d84c22e74c16df
parent0ec8169d3ec6dc8a7e8dcdfe9353dcfb3dddcd4c (diff)
feat: added "!mod" command and roblox reply
-rw-r--r--bigresult.py7
-rw-r--r--main.py10
2 files changed, 15 insertions, 2 deletions
diff --git a/bigresult.py b/bigresult.py
index 67abf33..bac8d64 100644
--- a/bigresult.py
+++ b/bigresult.py
@@ -2,6 +2,7 @@ import discord
from discord.ext import commands
class BotClient(commands.Bot):
+
async def on_ready(self):
print("The big result bot is ready!")
for guild in self.guilds:
@@ -9,11 +10,15 @@ class BotClient(commands.Bot):
await self.send_msg("Hurlo")
async def on_message(self, message):
+ roblox = discord.utils.get(self.emojis, name="roblos")
await self.process_commands(message)
if message.author == self.user:
return
if ("1984" in message.content):
- await message.channel.send("kys")
+ await message.reply("kys")
+ if ("roblox" in message.content):
+ 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&")
async def send_msg(self, msg):
channel = self.get_channel(427176475406630914)
diff --git a/main.py b/main.py
index 5c22de2..1b048d0 100644
--- a/main.py
+++ b/main.py
@@ -15,6 +15,14 @@ client = BotClient(intents=intents, command_prefix="!") # This represents our co
@client.command(name="bigresult")
async def teach(ctx):
- await ctx.send("https://cdn.discordapp.com/attachments/427176475406630914/1302392181448900649/image.png?ex=6727f2bd&is=6726a13d&hm=6092f4fba06412feac26a16a6900bf6e6122d66506f60bfcc0bc7101ecede4db&")
+ await ctx.reply("https://cdn.discordapp.com/attachments/427176475406630914/1302392181448900649/image.png?ex=6727f2bd&is=6726a13d&hm=6092f4fba06412feac26a16a6900bf6e6122d66506f60bfcc0bc7101ecede4db&")
+
+@client.command(name="mod")
+async def mod(ctx):
+ await ctx.reply("*pees in ur ass*\nI am a bot and this action was performed automatically. Please contact the modertators of this server if you have any questions or concerns.")
+
+@client.command(name="teachmethebigresult")
+async def teachbigresult(ctx):
+ await ctx.reply("take b36 with Nick Cheng. join the 'Big Result' club")
client.run(TOKEN) # This actually starts our bot