Skip to content

How to detect being disconnected by a mod? #71

Answered by FelixMcFelix
SuperCuber asked this question in Q&A
Discussion options

You must be logged in to vote

Currently we don't have an event type for this, but it should be a doable (non-breaking) addition. I think in the meantime, your best option is to listen into (assuming you're on serenity) VoiceStateUpdates—an update with your bot's UserId and None for its channel_id is the relevant trigger.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SuperCuber
Comment options

Answer selected by SuperCuber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants