simplifiying code, adding a basic bot functionality

This commit is contained in:
Believethehype
2023-11-23 11:53:57 +01:00
parent dc727021f6
commit 8a7e3168f5
16 changed files with 434 additions and 156 deletions

View File

@@ -220,8 +220,8 @@ def fetch_user_metadata(sender, client) -> (str, str, str):
name = metadata.get_display_name()
if str(name) == "" or name is None:
name = metadata.get_name()
nip05 = metadata.get_nip05()
lud16 = metadata.get_lud16()
nip05 = metadata.get_nip05()
lud16 = metadata.get_lud16()
except:
print("Couldn't get meta information")