imayhaveborkedit / discord-ext-voice-recv

Voice receive extension package for discord.py
https://pypi.org/project/discord-ext-voice-recv/
MIT License
118 stars 18 forks source link

Question: Are app commands (slash commands) possible here? #15

Closed VenusMods closed 6 months ago

VenusMods commented 6 months ago

since we have to use: vc = await ctx.author.voice.channel.connect(cls=voice_recv.VoiceRecvClient) in order to have the bot listen, is it possible to use app_commands at all? As the interaction for discord app_commands doesn't have voice.channel.connect?

VenusMods commented 6 months ago

nvm, hybrid_command exists

VenusMods commented 6 months ago

double nvm, going through normal app_commands, then doing: user_voice = interaction.user.voice vc = await user_voice.channel.connect(cls=voice_recv.VoiceRecvClient) will work as well.