allow external dvms to be added to the bot

This commit is contained in:
Believethehype
2023-11-29 15:09:35 +01:00
parent d6a6c4dcbb
commit 42b3d763f1
14 changed files with 178 additions and 111 deletions

View File

@@ -2,7 +2,7 @@ import os
from nostr_sdk import Keys
from utils.nip89_utils import NIP89Announcement
from utils.nip89_utils import NIP89Config
class DVMConfig:
@@ -22,7 +22,7 @@ class DVMConfig:
LNBITS_URL = 'https://lnbits.com'
DB: str
NEW_USER_BALANCE: int = 250 # Free credits for new users
NIP89: NIP89Announcement
NIP89: NIP89Config
SHOW_RESULT_BEFORE_PAYMENT: bool = False # if this is true show results even when not paid right after autoprocess