Blacklists / Topic Settings / many more changes

This commit is contained in:
ry 2020-01-03 17:27:32 +01:00
parent 3793241426
commit 34c1822e97
19 changed files with 317 additions and 131 deletions

View file

@ -0,0 +1,22 @@
const Command = require('../../src/structures/Command');
module.exports = class Crime extends Command {
constructor() {
super({
name: 'crime',
description: 'Commit crimes',
aliases: [],
module: 'Economy',
cooldown: 15,
guildOnly: true,
developerOnly: true,
nsfw: false
});
}
async command(ctx) {
ctx.utils.eco.quick('crime', ctx.author.id).then(r => {
ctx.send(r.text)
}).catch(error => ctx.send(`Error ${error.message}`))
}
}

View file

@ -16,7 +16,7 @@ module.exports = class Daily extends Command {
async command(ctx) {
ctx.utils.eco.Dailies().then(r => {
ctx.send(`**${r.amount}** has been added to your bank.`)
ctx.send(`**${r.amount}**<:coin:574116462260912138> has been added to your bank.`)
}).catch(error => ctx.send(`You can get your dailies in ${error.message}`))
}
}
}

View file

@ -16,7 +16,7 @@ module.exports = class Weekly extends Command {
async command(ctx) {
ctx.utils.eco.weekly().then(r => {
ctx.send(`**${r.amount}** has been added to your bank.`)
ctx.send(`**${r.amount}**<:coin:574116462260912138> has been added to your bank.`)
}).catch(error => ctx.send(`You can get your weeklies in ${error.message}`))
}
}
}

View file

@ -3,7 +3,7 @@ module.exports = class Work extends Command {
constructor() {
super({
name: 'work',
description: 'Get your Dailies',
description: 'Work for your money',
aliases: [],
module: 'Economy',
cooldown: 15,
@ -19,4 +19,4 @@ module.exports = class Work extends Command {
ctx.send(r.text)
}).catch(error => ctx.send(`Error ${error.message}`))
}
}
}