forked from Supositware/Haha-Yes
Removed message when its not the right user
This commit is contained in:
parent
1fc5151cff
commit
bacc79307e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue