mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-26 17:41:43 +01:00
Update bot.py
This commit is contained in:
parent
284fbe3716
commit
4ef805a79a
@ -539,9 +539,10 @@ class Bot:
|
||||
self.dvm_config)
|
||||
|
||||
etag = ""
|
||||
for tag in zapped_event.tags():
|
||||
if tag.as_vec()[0] == "e":
|
||||
etag = tag.as_vec()[1]
|
||||
if zapped_event is not None:
|
||||
for tag in zapped_event.tags():
|
||||
if tag.as_vec()[0] == "e":
|
||||
etag = tag.as_vec()[1]
|
||||
|
||||
user = await get_or_add_user(self.dvm_config.DB, sender, client=self.client, config=self.dvm_config)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user