Update cooldown

This commit is contained in:
loicbersier 2019-11-08 19:42:22 +01:00
parent ccdaff0816
commit 52ae2c8d7e
2 changed files with 4 additions and 2 deletions

View file

@ -12,7 +12,7 @@ class tweetCommand extends Command {
super('tweet', {
aliases: ['tweet'],
category: 'general',
cooldown: 60,
cooldown: 3600000,
ratelimit: 3,
args: [
{

View file

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