Skip to content

Commit

Permalink
skip slash command guild only check
Browse files Browse the repository at this point in the history
  • Loading branch information
Chew committed Aug 27, 2024
1 parent 92186b4 commit 4446edb
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,6 @@ else if(!selfMember.hasPermission(vc, p))
return;
}
}
else if(guildOnly)
{
terminate(event, client.getError()+" This command cannot be used in direct messages", client);
return;
}

// cooldown check, ignoring owner
if(cooldown>0 && !(isOwner(event, client)))
Expand Down

0 comments on commit 4446edb

Please sign in to comment.