3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-20 00:05:04 +00:00

Add return (because i forgot for some dumb reason)

This commit is contained in:
Dark 2020-12-22 04:02:35 +01:00
parent 71a4216af8
commit 971b145826
No known key found for this signature in database
GPG key ID: 384C4B4F5B1E25A8

View file

@ -25,6 +25,7 @@ export const VcdisconnectCmd = utilityCmd({
async run({ message: msg, args, pluginData }) {
if (!canActOn(pluginData, msg.member, args.member)) {
sendErrorMessage(pluginData, msg.channel, "Cannot move: insufficient permissions");
return;
}
if (!args.member.voiceState || !args.member.voiceState.channelID) {