lnbits-legend/lnbits/extensions/discordbot
dni ⚡ 09871bbabc
fix mypy for extensions (#873)
* explicitly exclude all extensions from mypy

* fix example extension mypy

* fix subdomains extension mypy + 1 type error fixed

* fix mypy discordbot

* mypy check copilot extensnion

* copilot black

* add invoices ext to ignore

* add boltz and boltcard

* copilit id is necessary

* was discordbot is ok

Co-authored-by: dni <dni.khr@gmail.com>
2022-10-24 16:29:30 +02:00
..
static Edited discord bot extension to use FastAPI (#570) 2022-05-06 20:26:42 +02:00
templates/discordbot added swagger to extensions 2022-07-27 19:21:04 +01:00
__init__.py Fixed path for extension templates 2022-07-23 20:08:59 +01:00
config.json Edited discord bot extension to use FastAPI (#570) 2022-05-06 20:26:42 +02:00
crud.py fix mypy for extensions (#873) 2022-10-24 16:29:30 +02:00
migrations.py Edited discord bot extension to use FastAPI (#570) 2022-05-06 20:26:42 +02:00
models.py make format everything (#743) 2022-07-16 14:23:03 +02:00
Pipfile Edited discord bot extension to use FastAPI (#570) 2022-05-06 20:26:42 +02:00
README.md Edited discord bot extension to use FastAPI (#570) 2022-05-06 20:26:42 +02:00
views.py fix mypy for extensions (#873) 2022-10-24 16:29:30 +02:00
views_api.py fix mypy for extensions (#873) 2022-10-24 16:29:30 +02:00

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)

create

/balance Will show the balance of the users wallet.

balance

/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

tip

/payme [amount] [description] Will open an invoice that can be paid by any user

payme