diff options
author | Josh <eeei3.joshua0307lol@gmail.com> | 2024-11-03 11:04:58 -0500 |
---|---|---|
committer | Josh <eeei3.joshua0307lol@gmail.com> | 2024-11-03 11:04:58 -0500 |
commit | dc2781781857c90834f27373ba3362719875ae84 (patch) | |
tree | 8a8f4fd639b2448b94fd2b8630d84c22e74c16df /bigresult.py | |
parent | 0ec8169d3ec6dc8a7e8dcdfe9353dcfb3dddcd4c (diff) |
feat: added "!mod" command and roblox reply
Diffstat (limited to 'bigresult.py')
-rw-r--r-- | bigresult.py | 7 |
1 files changed, 6 insertions, 1 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) |