Fix cooldown (Was set to 1 hour, supposed to be 24 hours)

This commit is contained in:
Supositware 2022-12-19 04:40:49 +01:00
parent 7254a242db
commit 0c793d73a6
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ export default {
.setRequired(false)), .setRequired(false)),
category: 'fun', category: 'fun',
ratelimit: 3, ratelimit: 3,
cooldown: 3600, cooldown: 86400,
async execute(interaction, args, client) { async execute(interaction, args, client) {
const content = args.content; const content = args.content;
const attachment = args.image; const attachment = args.image;

View file

@ -15,7 +15,7 @@ export default {
.setRequired(true)), .setRequired(true)),
category: 'utility', category: 'utility',
ratelimit: 5, ratelimit: 5,
cooldown: 3600, cooldown: 86400,
async execute(interaction, args) { async execute(interaction, args) {
const url = args.url; const url = args.url;
if (!await utils.stringIsAValidurl(url)) { if (!await utils.stringIsAValidurl(url)) {