simplifiying code, adding a basic bot functionality

This commit is contained in:
Believethehype
2023-11-23 11:53:57 +01:00
parent dc727021f6
commit 8a7e3168f5
16 changed files with 434 additions and 156 deletions

View File

@@ -3,13 +3,9 @@ from dataclasses import dataclass
from nostr_sdk import Event
from utils import env
NEW_USER_BALANCE: int = 250 # Free credits for new users
class EventDefinitions:
KIND_DM: int = 4
KIND_ZAP: int = 9735
@@ -41,8 +37,6 @@ class EventDefinitions:
KIND_NIP90_RESULT_GENERIC]
@dataclass
class JobToWatch:
event_id: str