Spaces:
Paused
Paused
add
Browse files- bot_main.py +1 -2
bot_main.py
CHANGED
|
@@ -51,8 +51,7 @@ def get_pick_embed(player):
|
|
| 51 |
|
| 52 |
return embed
|
| 53 |
|
| 54 |
-
@bot.hybrid_command(description="抽路線指令")
|
| 55 |
-
@bot.description(channel_name="語音聊天室名稱",other_user="人名1 人名2 ...")
|
| 56 |
async def pick(ctx, channel_name="",other_user=""):
|
| 57 |
# 搜尋指定名稱的語音頻道
|
| 58 |
voice_channel = discord.utils.get(ctx.guild.voice_channels, name=channel_name)
|
|
|
|
| 51 |
|
| 52 |
return embed
|
| 53 |
|
| 54 |
+
@bot.hybrid_command(description="抽路線指令",channel_name="語音聊天室名稱",other_user="人名1 人名2 ...")
|
|
|
|
| 55 |
async def pick(ctx, channel_name="",other_user=""):
|
| 56 |
# 搜尋指定名稱的語音頻道
|
| 57 |
voice_channel = discord.utils.get(ctx.guild.voice_channels, name=channel_name)
|