Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LoboMetalurgico committed Aug 11, 2020
1 parent ae955dd commit 7cb1e47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Commands/clear.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ exports.run = async (aruna, message, args, langc) => {
return message.channel.send(error1);
if (!message.guild.members.get(aruna.user.id).hasPermission('MANAGE_MESSAGES'))
return message.channel.send(error2);

if (!args[0])
return message.channel.send(error3);

if (args[0] > 100 || args[0] <= 1)
return message.channel.send(error4);

Expand Down

0 comments on commit 7cb1e47

Please sign in to comment.