staging #447

Merged
edraft merged 56 commits from staging into master 2023-12-02 19:34:25 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit b98828fce3 - Show all commits

View File

@ -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}")

View File

@ -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)
]