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:
parent
71a4216af8
commit
971b145826
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue