mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-19 02:18:37 +01:00
simplifiying code, adding a basic bot functionality
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user