change leave to disconnect
This commit is contained in:
parent
cc1d4bebb8
commit
bc61253348
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ module.exports = client => {
|
||||||
} else {
|
} else {
|
||||||
guild.dispatcher = null;
|
guild.dispatcher = null;
|
||||||
|
|
||||||
connection.leave();
|
connection.disconnect();
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue