diff --git a/bot/parsing.py b/bot/parsing.py index e0cf652..c17a276 100644 --- a/bot/parsing.py +++ b/bot/parsing.py @@ -35,7 +35,7 @@ def parse_notification(notification,client): # Check for both short and fully-qualified name mentions username_variants = [ config.USER, - f'@{config.USER.split('@')[1]}' + f'@{config.USER.split("@")[1]}' ] # Make sure the notification text explicitly mentions the bot