Update cooldown
This commit is contained in:
parent
ccdaff0816
commit
52ae2c8d7e
2 changed files with 4 additions and 2 deletions
|
@ -12,7 +12,7 @@ class tweetCommand extends Command {
|
||||||
super('tweet', {
|
super('tweet', {
|
||||||
aliases: ['tweet'],
|
aliases: ['tweet'],
|
||||||
category: 'general',
|
category: 'general',
|
||||||
cooldown: 60,
|
cooldown: 3600000,
|
||||||
ratelimit: 3,
|
ratelimit: 3,
|
||||||
args: [
|
args: [
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue