merge dev branch (more tests) (#47)
* more tests and bugfixes on spells * linting
This commit is contained in:
@ -88,16 +88,16 @@ module.exports = {
|
||||
}
|
||||
const Characters = []; //?+
|
||||
Promise.all(
|
||||
args.map(arg => {
|
||||
return findUser(arg).then(user => {
|
||||
args
|
||||
.map(arg => findUser(arg))
|
||||
.then(user => {
|
||||
if (!isEmpty(user)) {
|
||||
Characters.push({
|
||||
Name: user.character.name,
|
||||
Attributes: getStats(user),
|
||||
});
|
||||
}
|
||||
});
|
||||
})
|
||||
})
|
||||
).then(() => returnResult(message, Characters));
|
||||
return null;
|
||||
},
|
||||
|
Reference in New Issue
Block a user