Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- An uncaught error was raised while executing job monitorsMatches
- Traceback (most recent call last):
- File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 245, in tick
- job.run(self.bot)
- File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 372, in run
- self.callback(bot, self)
- File "/Users/piero/Desktop/python project/tc_bot/main.py", line 100, in monitorsMatches
- if isAdmin(up.message.from_user.username) is True:
- AttributeError: 'Job' object has no attribute 'message'
- An uncaught error was raised while executing job monitorsMatches
- Traceback (most recent call last):
- File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 245, in tick
- job.run(self.bot)
- File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 372, in run
- self.callback(bot, self)
- File "/Users/piero/Desktop/python project/tc_bot/main.py", line 100, in monitorsMatches
- if isAdmin(up.message.from_user.username) is True:
- AttributeError: 'Job' object has no attribute 'message'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement