You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2019. It is now read-only.
Hi, Have been able to crash the bot via "ignore last 1h1m" when no alert assigned for myself (user).
Traceback (most recent call last):
File "main.py", line 45, in <module>
main()
File "main.py", line 42, in main
sb.run()
File "/home/ec2-user/securitybot/securitybot/bot.py", line 180, in run
self.handle_messages()
File "/home/ec2-user/securitybot/securitybot/bot.py", line 199, in handle_messages
self.handle_command(user, text)
File "/home/ec2-user/securitybot/securitybot/bot.py", line 211, in handle_command
if cmd['fn'](self, user, args):
File "/home/ec2-user/securitybot/securitybot/commands.py", line 69, in ignore
if which == 'last' and user.old_tasks:
AttributeError: 'User' object has no attribute 'old_tasks'