From 8a4796860dbef47a9557cff0e1356f799a2e7483 Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:06:04 +0100 Subject: [PATCH] Update bot.py --- nostr_dvm/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostr_dvm/bot.py b/nostr_dvm/bot.py index 4ce783d..992c04c 100644 --- a/nostr_dvm/bot.py +++ b/nostr_dvm/bot.py @@ -364,7 +364,7 @@ class Bot: return dvms = [x for x in self.dvm_config.SUPPORTED_DVMS if - x.PUBLIC_KEY == nostr_event.author().to_hex() and x.KIND == nostr_event.kind() - 1000] + x.PUBLIC_KEY == nostr_event.author().to_hex() and x.KIND.as_u64() == nostr_event.kind().as_u64() - 1000] if len(dvms) > 0: dvm = dvms[0] if dvm.dvm_config.EXTERNAL_POST_PROCESS_TYPE != PostProcessFunctionType.NONE: