3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

fixed jumbo cmd, simplified checks and fixed ping cmd

This commit is contained in:
almeidx 2021-07-29 01:43:50 +01:00
parent 80f2dacb7f
commit a8298d4faa
No known key found for this signature in database
GPG key ID: 8558FBFF849BD664
4 changed files with 20 additions and 24 deletions

View file

@ -25,7 +25,7 @@ export const VcdisconnectCmd = utilityCmd({
return;
}
if (!args.member.voice || !args.member.voice.channelId) {
if (!args.member.voice?.channelId) {
sendErrorMessage(pluginData, msg.channel, "Member is not in a voice channel");
return;
}