commit
fbc8569bf9
4 changed files with 6 additions and 6 deletions
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2018 LBRY <filip@lbry.io>
|
Copyright (c) 2018 LBRY <filip@lbry.com>
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Bot for [LBRY's Discord](https://chat.lbry.io)
|
# Bot for [LBRY's Discord](https://chat.lbry.com)
|
||||||
(This README will be updated along with bot updates)
|
(This README will be updated along with bot updates)
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
|
|
|
@ -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.io/faq/tipbot-discord) for a more details',
|
'Read our [Tipbot FAQ](https://lbry.com/faq/tipbot-discord) for a more details',
|
||||||
color: 1109218
|
color: 1109218
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -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.io/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.
|
||||||
|
@ -334,5 +334,5 @@ function getValidatedAmount(amount) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function txLink(txId) {
|
function txLink(txId) {
|
||||||
return '<https://explorer.lbry.io/tx/' + txId + '>';
|
return '<https://explorer.lbry.com/tx/' + txId + '>';
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,6 @@
|
||||||
"description": "LBRYs tipbot for Discord",
|
"description": "LBRYs tipbot for Discord",
|
||||||
"main": "app.js",
|
"main": "app.js",
|
||||||
"repository": "https://github.com/lbryio/lbry-tipbot",
|
"repository": "https://github.com/lbryio/lbry-tipbot",
|
||||||
"author": "filipnyquist <filip@lbry.io>",
|
"author": "filipnyquist <filip@lbry.com>",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue