Remove dependency Random, node-fetch (#48)
* removed dependency to Random * removed dependency to node-fetch * remove node-fetch, add got * unstringify json
This commit is contained in:
@ -11,8 +11,7 @@ module.exports = {
|
||||
usage: '',
|
||||
needs_args: false,
|
||||
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
async exec(message, args) {
|
||||
async exec(message) {
|
||||
db.find({ user: message.author.tag })
|
||||
.then(docs => {
|
||||
if (isEmpty(docs)) {
|
||||
|
Reference in New Issue
Block a user