소스 검색

fixing sa command

BaumSplitter41 4 달 전
부모
커밋
3bf3507fe7
1개의 변경된 파일1개의 추가작업 그리고 9개의 파일을 삭제
  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)"""
+
 #---------------------------------#
 
 #---------------------------------#