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