Refactoring (#29)

* refactor Attack command

* add test to Attack functions

* changed README.md

* install dev dependency rewire

* stop autoloading due to ci errors
This commit is contained in:
2021-04-30 23:14:27 +02:00
committed by GitHub
parent edcfba3d7b
commit f22df0dec1
7 changed files with 1859 additions and 171 deletions

View File

@ -2,7 +2,7 @@ const Discord = require('discord.js');
const Datastore = require('nedb'),
db = new Datastore({
filename: 'data/dsabot.db',
autoload: true,
autoload: false,
});
const MessageEmbed = new Discord.MessageEmbed();
const money = [{