Removed message when its not the right user

This commit is contained in:
Supositware 2019-03-23 15:17:19 +01:00
parent 1fc5151cff
commit bacc79307e

View file

@ -29,7 +29,7 @@ class bsespamCommand extends Command {
async exec(message, args) {
if (message.author.id != '428387534842626048')
return message.say('Command only available to **Big Snow Energy**');
return;
if (args.number <= 10) {
for(let i = 0; i < args.number; i++) {
message.channel.send(args.text);