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:
2021-05-07 22:51:03 +02:00
committed by GitHub
parent ba63be64dd
commit 8b3d9b4c78
9 changed files with 4274 additions and 158 deletions

View File

@ -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)) {