* linting, rolling dice now calculates the sum of each shown value. * package update
16 lines
455 B
JavaScript
16 lines
455 B
JavaScript
const globals = require('../globals');
|
|
const db = globals.db;
|
|
module.exports = {
|
|
name: 'remove',
|
|
description: 'Löscht deinen Charakter aus der Datenbank. Sinnvoll, wenn du mir eine neue zusenden möchtest.',
|
|
aliases: [],
|
|
usage: '',
|
|
needs_args: false,
|
|
async exec(message, args) {
|
|
db.remove({
|
|
user: message.author.tag,
|
|
}, {}, function(err, numRemoved) {
|
|
message.reply(globals.Replies.find(x => x.id === 'DELETED_DATA').string);
|
|
});
|
|
},
|
|
}; |