Update tipbot.js

bring back comma
This commit is contained in:
YULIUS KURNIAWAN KRISTIANTO 2018-11-06 03:09:47 +07:00 committed by GitHub
parent 136f17c4ad
commit ed3050b1ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ exports.tip = {
usage: '<subcommand>',
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(' ')
@ -66,7 +66,7 @@ exports.multitip = {
usage: '<subcommand>',
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: '<subcommand>',
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(' ')