lnbits-legend/lnbits/extensions/discordbot
calle b622028f7d
Merge pull request #1271 from lnbits/fix/mypy/ignores
removing type: ignore from Query, Depends, Body and import them correctly
2023-01-04 09:19:06 +01:00
..
static initial 2022-12-31 01:46:55 +00:00
templates/discordbot Fixes all those ugly hyperlinks 2022-12-29 23:51:18 +00:00
__init__.py Fixed path for extension templates 2022-07-23 20:08:59 +01:00
config.json Updated extension card layout 2023-01-01 18:14:20 +00: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_api.py removing type: ignore from Query, Depends, Body and import them correctly 2023-01-02 11:56:28 +01:00
views.py removing type: ignore from Query, Depends, Body and import them correctly 2023-01-02 11:56:28 +01: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