Spaces:
Paused
Paused
add
Browse files- bot_main.py +1 -1
bot_main.py
CHANGED
|
@@ -53,7 +53,7 @@ def get_pick_embed(player):
|
|
| 53 |
return embed
|
| 54 |
|
| 55 |
@bot.hybrid_command(description="會從<<指定語音頻道>>和<<指定其他玩家名稱>>中選路線")
|
| 56 |
-
@app_commands.describe(channel_name="語音頻道名稱",other_user="其他玩家名稱")
|
| 57 |
async def pick(ctx, channel_name="",other_user=""):
|
| 58 |
# 搜尋指定名稱的語音頻道
|
| 59 |
voice_channel = discord.utils.get(ctx.guild.voice_channels, name=channel_name)
|
|
|
|
| 53 |
return embed
|
| 54 |
|
| 55 |
@bot.hybrid_command(description="會從<<指定語音頻道>>和<<指定其他玩家名稱>>中選路線")
|
| 56 |
+
# @app_commands.describe(channel_name="語音頻道名稱",other_user="其他玩家名稱")
|
| 57 |
async def pick(ctx, channel_name="",other_user=""):
|
| 58 |
# 搜尋指定名稱的語音頻道
|
| 59 |
voice_channel = discord.utils.get(ctx.guild.voice_channels, name=channel_name)
|