Rapptz / discord.py

An API wrapper for Discord written in Python.
http://discordpy.rtfd.org/en/latest
MIT License
14.84k stars 3.76k forks source link

how to get the members of a voice channel? #1049

Closed George-Kaloudis closed 6 years ago

George-Kaloudis commented 6 years ago

I want to make a timeout command and i need a command that gtets all the users of a voice channel.

scragly commented 6 years ago

Async channel.voice_members http://discordpy.readthedocs.io/en/latest/api.html#discord.Channel.voice_members

Rewrite voicechannel.members http://discordpy.readthedocs.io/en/rewrite/api.html#discord.VoiceChannel.members

George-Kaloudis commented 6 years ago

Thanks!!

scragly commented 6 years ago

Please close the issue.