瀏覽代碼

removed the greet funktion

BaumSplitter41 1 月之前
父節點
當前提交
dfcbd1f203
共有 1 個文件被更改,包括 0 次插入21 次删除
  1. 0 21
      VPD_BOT/cogs/greet.py

+ 0 - 21
VPD_BOT/cogs/greet.py

@@ -1,21 +0,0 @@
-import discord
-from discord.ext import commands
-from discord.commands import Option
-from discord.commands import slash_command
-import os
-from dotenv import load_dotenv
-
-class greet(commands.Cog):
-    def __init__(self, bot: discord.Bot):
-        self.bot = bot
-
-
-
-#Command initialization
-    @slash_command(description="Greet a User")
-    async def greet(self, ctx, user: str = Option(discord.User, "The user, you want to greet")):
-        await ctx.respond(f"Hello {user.mention}")
-
-
-def setup(bot: discord.Bot):
-    bot.add_cog(greet(bot))