From f1ab14e6157147c3c08b4707076612a7d3537f15 Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Fri, 26 Mar 2021 19:18:25 +0100 Subject: [PATCH] :sparkles: Added !thank command --- cogs/MiscCog.py | 4 ++++ resources/help/help-thank.txt | 1 + resources/help/help.txt | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 resources/help/help-thank.txt diff --git a/cogs/MiscCog.py b/cogs/MiscCog.py index b17c562..e9cb0f3 100644 --- a/cogs/MiscCog.py +++ b/cogs/MiscCog.py @@ -50,6 +50,10 @@ class MiscCog(commands.Cog): logThis(f"{ctx.message.author.display_name} tried to stop me! (error code 201)",str(ctx.message.channel.id)) await ctx.send(f"I don't think I will, {ctx.message.author.display_name} (error code 201)") + @commands.command(aliases = ["thankyou", "thanku", "thanks"]) + async def thank(self, ctx): + await ctx.send("You're welcome :blush:") + # Sends a friendly message @commands.command(aliases = ["hi","howdy"]) async def hello(self, ctx): diff --git a/resources/help/help-thank.txt b/resources/help/help-thank.txt new file mode 100644 index 0000000..d103b4d --- /dev/null +++ b/resources/help/help-thank.txt @@ -0,0 +1 @@ +Lader dig takke Gwendolyn. \ No newline at end of file diff --git a/resources/help/help.txt b/resources/help/help.txt index d6eb857..ccbbb01 100644 --- a/resources/help/help.txt +++ b/resources/help/help.txt @@ -44,4 +44,6 @@ `!downloading` - Viser dig hvor langt de torrents der er ved at downloade er kommet. +`!thank` - Lader dig takke Gwendolyn. + Du kan få ekstra information om kommandoerne med "!help [kommando]".