diff --git a/bot/modules/tipbot.js b/bot/modules/tipbot.js index 3054a24..ea9aa36 100644 --- a/bot/modules/tipbot.js +++ b/bot/modules/tipbot.js @@ -33,7 +33,7 @@ exports.tip = { usage: '', description: 'Tip a given user with an amount of LBC or perform wallet specific operations.', process: async function(bot, msg, suffix) { - let tipper = msg.author.id.replace('!', ''), + let tipper = msg.author.id.replace('!' ''), words = msg.content .trim() .split(' ') @@ -48,7 +48,7 @@ exports.tip = { privateOrSandboxOnly(msg, channelwarning, doHelp, [helpmsg]); break; case 'balance': - doBalance(msg, tipper); + privateOrSandboxOnly(msg, channelwarning, doBalance, [tipper]); break; case 'deposit': privateOrSandboxOnly(msg, channelwarning, doDeposit, [tipper]); @@ -66,7 +66,7 @@ exports.multitip = { usage: '', description: 'Tip multiple users simultaneously for the same amount of LBC each.', process: async function(bot, msg, suffix) { - let tipper = msg.author.id.replace('!', ''), + let tipper = msg.author.id.replace('!' ''), words = msg.content .trim() .split(' ') @@ -91,7 +91,7 @@ exports.roletip = { usage: '', description: 'Tip all users in a specified role an amount of LBC.', process: async function(bot, msg, suffix) { - let tipper = msg.author.id.replace('!', ''), + let tipper = msg.author.id.replace('!' ''), words = msg.content .trim() .split(' ')