Merge pull request #51 from kcseb/master

Fixed a minor typo and forced FAQ URL to NOT embed.
This commit is contained in:
Niko 2019-10-15 15:49:26 -04:00 committed by GitHub
commit b143a38bb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ const helpmsg = {
'**Note**: Multi tips can contain any amount of users to tip.\n\n' + '**Note**: Multi tips can contain any amount of users to tip.\n\n' +
'__**FURTHER INFORMATION**__\n\n' + '__**FURTHER INFORMATION**__\n\n' +
'**Help**: `!tip help` *Get this message.\n' + '**Help**: `!tip help` *Get this message.\n' +
'Read our [Tipbot FAQ](<https://lbry.com/faq/tipbot-discord>) for a more details', 'Read our [Tipbot FAQ](<https://lbry.com/faq/tipbot-discord>) for more details',
color: 1109218 color: 1109218
} }
}; };
@ -114,7 +114,7 @@ exports.roletip = {
exports.tips = { exports.tips = {
usage: '', usage: '',
description: 'Lists all available tipbot commands with brief descriptions for each one.', description: 'Lists all available tipbot commands with brief descriptions for each command.',
process: async function(bot, msg, suffix) { process: async function(bot, msg, suffix) {
msg.reply(helpmsg); msg.reply(helpmsg);
} }
@ -285,7 +285,7 @@ function sendLBC(bot, message, tipper, recipient, amount, privacyFlag, MultiorRo
} else { } else {
let tx = txLink(txId); let tx = txLink(txId);
let msgtail = ` let msgtail = `
DM me with \`!tips\` for all available commands or read our Tipbot FAQ https://lbry.com/faq/tipbot-discord for more details`; DM me with \`!tips\` for all available commands or read our Tipbot FAQ <https://lbry.com/faq/tipbot-discord> for more details`;
if (privacyFlag) { if (privacyFlag) {
let usr = message.guild.members.find('id', recipient).user; let usr = message.guild.members.find('id', recipient).user;
let authmsg = `You have sent a private tip to @${usr.tag} with the amount of ${amount} LBC. let authmsg = `You have sent a private tip to @${usr.tag} with the amount of ${amount} LBC.