mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
@@ -241,7 +241,7 @@ client.on('voiceStateUpdate', (oldState, newState) => {
|
||||
const dispatcher = client.dispatchers.get(newState.channelID)
|
||||
if (!dispatcher) return;
|
||||
dispatcher.end();
|
||||
client.dispatchers.remove(newState.channelID);
|
||||
client.dispatchers.delete(newState.channelID);
|
||||
});
|
||||
|
||||
client.on('disconnect', event => {
|
||||
|
||||
Reference in New Issue
Block a user