|
|
@ -6,7 +6,7 @@ class bsespamCommand extends Command {
|
|
|
|
aliases: ['bsespam'] , //Required
|
|
|
|
aliases: ['bsespam'] , //Required
|
|
|
|
category: 'reserved', //recommended
|
|
|
|
category: 'reserved', //recommended
|
|
|
|
channelRestriction: 'guild', //needed if you want to restrict where we can launch the command
|
|
|
|
channelRestriction: 'guild', //needed if you want to restrict where we can launch the command
|
|
|
|
cooldown: 3600,
|
|
|
|
cooldown: 1800000,
|
|
|
|
ratelimit: 2,
|
|
|
|
ratelimit: 2,
|
|
|
|
args: [ //if need args
|
|
|
|
args: [ //if need args
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -28,8 +28,10 @@ class bsespamCommand extends Command {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
async exec(message, args) {
|
|
|
|
async exec(message, args) {
|
|
|
|
|
|
|
|
/*
|
|
|
|
if (message.author.id != '428387534842626048')
|
|
|
|
if (message.author.id != '428387534842626048')
|
|
|
|
return;
|
|
|
|
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);
|
|
|
|