From dc2781781857c90834f27373ba3362719875ae84 Mon Sep 17 00:00:00 2001 From: Josh Date: Sun, 3 Nov 2024 11:04:58 -0500 Subject: feat: added "!mod" command and roblox reply --- bigresult.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bigresult.py') 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) -- cgit v1.2.3