Merge branch 'dev' into 'master'

Dev

See merge request aaron-riedel/shbot!14
This commit is contained in:
Aaron Riedel 2022-03-31 17:00:31 +00:00
commit 307481b68e

5
bot.py
View file

@ -73,6 +73,11 @@ async def on_command_error(ctx, error):
async def on_ready(): async def on_ready():
print("Bot ready on Version %s..." % discord.__version__) print("Bot ready on Version %s..." % discord.__version__)
@bot.event
async def on_message(message):
if message.author.id == 274197471515639808:
await message.add_reaction(bot.get_emoji(844264772110909501))
class Confirm(discord.ui.View): class Confirm(discord.ui.View):
def __init__(self): def __init__(self):
super().__init__() super().__init__()