mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-08-23 09:37:27 +00:00
17 lines
No EOL
614 B
JavaScript
17 lines
No EOL
614 B
JavaScript
'use strict';
|
|
|
|
const bitcoin = require('bitcoin');
|
|
let config = require('config');
|
|
config = config.get('lbrycrd');
|
|
const lbry = new bitcoin.Client(config);
|
|
|
|
exports.commands = [
|
|
"tip"
|
|
]
|
|
exports.tip = {
|
|
usage: "<subcommand>",
|
|
description: 'balance: get your balance\n deposit: get adress for your deposits\n withdraw ADDRESS AMOUNT: withdraw AMOUNT credits to ADDRESS\n <user> <amount>: mention a user with @ and then the amount to tip them',
|
|
process: async function(bot,msg,suffix){
|
|
return; // Tipping is now handled by the separate tipbot(in branch tipbot_dc), no need to to anything here...
|
|
}
|
|
} |