From d38e4c8f2aeebea65f45e25ed939f5ff5dcf5e4a Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Mon, 17 Jun 2024 10:03:19 +0200 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 ca9b5e9..19c7620 100644 --- a/nostr_dvm/bot.py +++ b/nostr_dvm/bot.py @@ -120,7 +120,7 @@ class Bot: # Check timestamp of rumor if rumor.created_at().as_secs() >= Timestamp.now().as_secs(): - if rumor.kind() == Kind.from_enum(KindEnum.SEALED_DIRECT()): + if rumor.kind() == Kind.from_enum(KindEnum.PRIVATE_DIRECT_MESSAGE()): decrypted_text = rumor.content() print(f"Received new msg [sealed]: {decrypted_text}") sealed = " [sealed] "