mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-04-01 00:18:04 +02:00
Update bot.py
This commit is contained in:
parent
b5a848d7fc
commit
d38e4c8f2a
@ -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] "
|
||||
|
Loading…
x
Reference in New Issue
Block a user