change/simplify err function handles

This commit is contained in:
SowinskiBraeden authored and GitHub committed 2023-09-04 10:52:16 -07:00
1 parent cbdbd18051
commit 317c48de36
19 files changed
+61 -61

No files matched your search

+1 -1
View File
@@ -152,7 +152,7 @@ module.exports = {
$set: {
[`user.guilds.${guildId}.balance`]: newBalance,
}
}, function(err, res) {
}, (err, res) => {
if (err) return client.sendError(client.GetChannel(guild.killfeedChannel), `Killfeed Error: Updating killer bank balance\n${err}`);
});