Files
dsabot/commands/Remove.js
TobenderZephyr 9c0c365cd5 Jslint (#14)
* linting, rolling dice now calculates the sum of each shown value.

* package update
2021-02-09 17:23:23 +01:00

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);
});
},
};