Parcourir la source

Deleted the Hello and finished setup of the /say command in a Cogs File.

BaumSplitter41 il y a 4 mois
Parent
commit
3c4153790a
2 fichiers modifiés avec 0 ajouts et 19 suppressions
  1. 0 16
      VPD_BOT/cogs/hello.py
  2. 0 3
      VPD_BOT/cogs/say.py

+ 0 - 16
VPD_BOT/cogs/hello.py

@@ -1,16 +0,0 @@
-import discord
-from discord.ext import commands
-from discord.commands import slash_command
-
-
-class Hello(commands.Cog):
-    def __init__(self, bot: discord.Bot):
-        self.bot = bot
-
-    @slash_command(name="hallo", description="hello")
-    async def hello(self, ctx: discord.ApplicationContext):
-        await ctx.respond(f"Hey {ctx.author.mention}")
-
-
-def setup(bot: discord.Bot):
-    bot.add_cog(Hello(bot))

+ 0 - 3
VPD_BOT/cogs/say.py

@@ -29,9 +29,6 @@ class Say(commands.Cog):
     )
 
 
-
-
-
 #Command initialization
     @slash_command(description="Let the bot send a message")
     async def say(