From 0ee45f1cbcbd94a20d34c45a12addfbcf8afbdcc Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 7 Apr 2025 13:42:20 +0700 Subject: [PATCH] Boop command --- .idea/SquogBot.iml | 2 +- .idea/misc.xml | 1 + commands/fun.py | 3 +++ main.py | 9 +-------- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.idea/SquogBot.iml b/.idea/SquogBot.iml index 0974f4d..e025721 100644 --- a/.idea/SquogBot.iml +++ b/.idea/SquogBot.iml @@ -4,7 +4,7 @@ - + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 46eb974..16a36fe 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,4 +3,5 @@ + \ No newline at end of file diff --git a/commands/fun.py b/commands/fun.py index 11421da..b45e1fd 100644 --- a/commands/fun.py +++ b/commands/fun.py @@ -5,6 +5,9 @@ class Fun(commands.Cog): def __init__(self, bot): self.client = bot + @commands.command() + async def boop(self, ctx: nextcord.Message, user: nextcord.User): + ctx.reply(f"{user.mention} shall get booped!", files=[nextcord.File("../images/boop.webp")]) # Add something here later cuz im lazy raaahhh def setup(bot): diff --git a/main.py b/main.py index 1f4e0a7..188a037 100644 --- a/main.py +++ b/main.py @@ -18,12 +18,5 @@ for filename in os.listdir("./events"): if filename.endswith('.py'): client.load_extension(f'events.{filename[:-3]}') -# ______ _ _ -# | ____| | | (_) -# | |__ __ _____ ___ _ _| |_ _ _ __ __ _ -# | __| \ \/ / _ \/ __| | | | __| | '_ \ / _` | -# | |____ > | __| (__| |_| | |_| | | | | (_| | -# |______/_/\_\___|\___|\__,_|\__|_|_| |_|\__, | -# __/ | -# |___/ +# Starting bot client.run(SquogToken)