Blacklists / Topic Settings / many more changes
This commit is contained in:
parent
3793241426
commit
34c1822e97
19 changed files with 317 additions and 131 deletions
22
DiscordModules/Economy/crime.js
Normal file
22
DiscordModules/Economy/crime.js
Normal 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}`))
|
||||
}
|
||||
}
|
|
@ -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}`))
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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}`))
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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}`))
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue