Categories
I want to make a function for the bot so that when a person leaves the voice channel, the bot would clear a certain channel, how to do this?
I want to clear the chat through on_voice_state_update
Answer the question
In order to leave comments, you need to log in
add to the event on_voice_update: member.disconnect: add or connect the clear command and the clear command will be cleared; now add to the play command: member.get_channel("id") after when you connected the clear command in the event, insert get.id
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question