How to differentiate between a disconnect and move? #1598
-
I am trying to write a music bot, but I am unable to differentiate between someone disconnecting the bot and someone moving the bot. For both events, the connection status changes to |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can use the |
Beta Was this translation helpful? Give feedback.
-
Okay, thanks! |
Beta Was this translation helpful? Give feedback.
You can use the
GuildVoiceMoveEvent
for that. It also mentions how a move is differentiated from a leave.