forked from waifu/kemoverse
user split bugfix
This commit is contained in:
parent
d76a965e75
commit
7a1c3c4005
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue