Miscallaneous cleanups #8

Merged
waifu merged 9 commits from vd15_misc_cleanups into master 2025-05-18 12:46:30 -07:00
Showing only changes of commit 7a1c3c4005 - Show all commits

View file

@ -35,7 +35,7 @@ def parse_notification(notification,client):
# Check for both short and fully-qualified name mentions # Check for both short and fully-qualified name mentions
username_variants = [ username_variants = [
config.USER, config.USER,
f'@{config.USER.split('@')[1]}' f'@{config.USER.split("@")[1]}'
] ]
# Make sure the notification text explicitly mentions the bot # Make sure the notification text explicitly mentions the bot