mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 18:51:05 +01:00
b622028f7d
removing type: ignore from Query, Depends, Body and import them correctly |
||
---|---|---|
.. | ||
static | ||
templates/discordbot | ||
__init__.py | ||
config.json | ||
crud.py | ||
migrations.py | ||
models.py | ||
Pipfile | ||
README.md | ||
views_api.py | ||
views.py |
Discord Bot
Provide LNbits wallets for all your Discord users
This extension is a modifed version of LNbits User Manager
The intended usage of this extension is to connect it to a specifically designed Discord Bot leveraging LNbits as a community based lightning node.
Setup
This bot can target lnbits.com or a self hosted instance.
To setup and run the bot instructions are located here
Usage
This bot will allow users to interact with it in the following ways full command list:
/create
Will create a wallet for the Discord user
- (currently limiting 1 Discord user == 1 LNbits user == 1 user wallet)
/balance
Will show the balance of the users wallet.
/tip @user [amount]
Will sent money from one user to another
- If the recieving user does not have a wallet, one will be created for them
- The receiving user will receive a direct message from the bot with a link to their wallet
/payme [amount] [description]
Will open an invoice that can be paid by any user