mirror of
https://github.com/sigmasternchen/MinervaBot
synced 2025-03-15 07:59:00 +00:00
exit, exit, exiiiiiitt.... there is no exit...
This commit is contained in:
parent
d625415001
commit
15611ef84a
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -92,7 +92,7 @@ if __name__ == "__main__":
|
|||
])
|
||||
else:
|
||||
for user in COMMAND_SOURCE_ACCOUNTS:
|
||||
if dm.author.screen_name == user:
|
||||
if ("@" + dm.author.screen_name) == user:
|
||||
commandsToExecute.append([
|
||||
dm.author.screen_name,
|
||||
dm.text
|
||||
|
@ -114,7 +114,7 @@ if __name__ == "__main__":
|
|||
])
|
||||
else:
|
||||
for user in COMMAND_SOURCE_ACCOUNTS:
|
||||
if mention.author.screen_name == user:
|
||||
if ("@" + mention.author.screen_name) == user:
|
||||
commandsToExecute.append([
|
||||
mention.author.screen_name,
|
||||
mention.text
|
||||
|
|
Loading…
Reference in a new issue