Fixed mass move #444
This commit is contained in:
parent
5f8ae787f0
commit
b98828fce3
@ -38,7 +38,7 @@ class MassMoveCommand(DiscordCommandABC):
|
||||
self,
|
||||
ctx: Context,
|
||||
channel_to: discord.VoiceChannel,
|
||||
channel_from: Transform[str, VoiceChannelTransformer] = None,
|
||||
channel_from: Transform[discord.VoiceChannel, VoiceChannelTransformer] = None,
|
||||
):
|
||||
self._logger.debug(__name__, f"Received command mass-move {ctx}")
|
||||
|
||||
|
@ -25,7 +25,7 @@ class VoiceChannelTransformer(Transformer):
|
||||
return [
|
||||
app_commands.Choice(
|
||||
name=f"{vc.name}" if vc.category is None else f"{vc.name}: {vc.category.name}",
|
||||
value=vc.name,
|
||||
value=str(vc.id),
|
||||
)
|
||||
for vc in get_client_utils().get_auto_complete_list(voice_channels, current, lambda x: x.name)
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user