Fixed !roletip

This commit is contained in:
Chocolate 2018-05-04 17:50:09 +08:00 committed by GitHub
parent 510c2399d6
commit 6413a7042f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ exports.tip = {
author: { name: '!tip' } author: { name: '!tip' }
} }
}, },
channelwarning = 'Please use <#' + spamchannel + '> or DMs to talk to bots.'; channelwarning = 'Please use <#' + spamchannel + '> or DMs to talk to bots.',
MultiorRole = false; MultiorRole = false;
switch (subcommand) { switch (subcommand) {
case 'help': case 'help':
@ -79,7 +79,7 @@ exports.multitip = {
author: { name: '!multitip' } author: { name: '!multitip' }
} }
}, },
channelwarning = 'Please use <#' + spamchannel + '> or DMs to talk to bots.'; channelwarning = 'Please use <#' + spamchannel + '> or DMs to talk to bots.',
MultiorRole = true MultiorRole = true
switch (subcommand) { switch (subcommand) {
case 'help': case 'help':
@ -116,7 +116,7 @@ exports.roletip = {
author: { name: '!roletip' } author: { name: '!roletip' }
} }
}, },
channelwarning = `Please use <#${spamchannel}> or DMs to talk to bots.`; channelwarning = `Please use <#${spamchannel}> or DMs to talk to bots.`,
MultiorRole = true MultiorRole = true
switch (subcommand) { switch (subcommand) {
case 'help': case 'help':