mirror of
https://github.com/LBRYFoundation/lbry-tipbot.git
synced 2025-08-23 16:57:24 +00:00
Merge pull request #8 from ProfessorDey/patch-2
Updated doHelp() & Added Self Tip Detection
This commit is contained in:
commit
c7b8385455
1 changed files with 2 additions and 4 deletions
|
@ -113,11 +113,9 @@ function doTip(message, tipper, words) {
|
||||||
|
|
||||||
function doHelp(message) {
|
function doHelp(message) {
|
||||||
if (!inPrivateOrBotSandbox(message)) {
|
if (!inPrivateOrBotSandbox(message)) {
|
||||||
message.reply('Please use <#369896313082478594> or DMs to talk to bots.');
|
message.reply('Sent you help via DM! Please use <#369896313082478594> or DMs to talk to bots.');
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
message.reply('Sent you help via DM!');
|
message.author.send('**!tip**\n balance: get your balance\n deposit: get address for your deposits\n withdraw ADDRESS AMOUNT: withdraw AMOUNT credits to ADDRESS\n [private] <user> <amount>: mention a user with @ and then the amount to tip them, or put private before the user to tip them privately.\n Key: [] : Optionally include contained keyword, <> : Replace with appropriate value.');
|
||||||
message.author.send('**!tip**\n !tip balance: get your balance\n !tip deposit: get adress for your deposits\n !tip withdraw ADDRESS AMOUNT: withdraw AMOUNT credits to ADDRESS\n !tip <user> <amount>: send <amount> credits to <user>');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue