mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-20 04:36:30 +01:00
renaming, fixes, client with opts
This commit is contained in:
@@ -29,13 +29,12 @@ class Translation(DVMTaskInterface):
|
||||
self.NAME = name
|
||||
self.PK = dvm_config.PRIVATE_KEY
|
||||
|
||||
dvm_config.SUPPORTED_TASKS = [self]
|
||||
dvm_config.SUPPORTED_DVMS = [self]
|
||||
dvm_config.DB = "db/" + self.NAME + ".db"
|
||||
dvm_config.NIP89 = self.NIP89_announcement(nip89d_tag, nip89info)
|
||||
self.dvm_config = dvm_config
|
||||
self.admin_config = admin_config
|
||||
|
||||
|
||||
def is_input_supported(self, input_type, input_content):
|
||||
if input_type != "event" and input_type != "job" and input_type != "text":
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user