mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-04 20:32:41 +02:00
Update bot.py
This commit is contained in:
@@ -143,7 +143,7 @@ class Bot:
|
|||||||
index = int(split[0]) - 1
|
index = int(split[0]) - 1
|
||||||
# if user sends index info, e.g. 1 info, we fetch the nip89 information and reply with it.
|
# if user sends index info, e.g. 1 info, we fetch the nip89 information and reply with it.
|
||||||
if len(split) > 1 and split[1].lower() == "info":
|
if len(split) > 1 and split[1].lower() == "info":
|
||||||
answer_nip89(nostr_event, index)
|
answer_nip89(nostr_event, index, giftwrap, sender)
|
||||||
# otherwise we probably have to do some work, so build an event from input and send it to the DVM
|
# otherwise we probably have to do some work, so build an event from input and send it to the DVM
|
||||||
else:
|
else:
|
||||||
task = self.dvm_config.SUPPORTED_DVMS[index].TASK
|
task = self.dvm_config.SUPPORTED_DVMS[index].TASK
|
||||||
|
Reference in New Issue
Block a user