Răsfoiți Sursa

fixing sa command

BaumSplitter41 4 luni în urmă
părinte
comite
3bf3507fe7
1 a modificat fișierele cu 1 adăugiri și 9 ștergeri
  1. 1 9
      VPD_BOT/main.py

+ 1 - 9
VPD_BOT/main.py

@@ -181,15 +181,7 @@ async def greet(ctx, user: str = Option(discord.User, "The user, you want to gre
 
 #---------------------------------#
 ## Say
-"""@bot.slash_command(description="Let the bot send a message")
-async def say(
-        ctx,
-        text: str = Option(description="Input the text you want to send"),
-        channel_input: discord.TextChannel = Option(description="Select the channel,where you want to send the message.")
-):  
-    channel= discord.utils.get(ctx.guild.channels, id = int(channel_input[2:-1]))
-    await channel.send(text)
-    await ctx.respond("Message sent", ephemeral=True)"""
+
 #---------------------------------#
 
 #---------------------------------#