CSC510-Group-25 / ClassMateBot

This project helps to improve the life of students, TAs and teachers by automating many mundane tasks which are sometimes done manually on Discord. This is release version 3 of the ClassMateBot.
MIT License
0 stars 5 forks source link

deadline update test failure: AttributeError: 'NoneType' object has no attribute 'send' #122

Closed snapcat closed 2 years ago

snapcat commented 2 years ago

For branch: https://github.com/CSC510-Group-25/ClassMateBot/tree/group25-deadline-enhance

https://github.com/CSC510-Group-25/ClassMateBot/runs/4342937670?check_suite_focus=true

snapcat commented 2 years ago

https://github.com/CSC510-Group-25/ClassMateBot/blob/542f31e5b9c675015de668a84047efc27a14356d/cogs/deadline.py#L544-L558

https://github.com/CSC510-Group-25/ClassMateBot/blob/542f31e5b9c675015de668a84047efc27a14356d/cogs/deadline.py#L576-L591

etracey7 commented 2 years ago

Need to integrate with Jonathan's branch so a channel for reminders/assignments exists. Also planning to wrap in if statement to make sure channel is valid

snapcat commented 2 years ago

Added suggestion in PR review! #125

snapcat commented 2 years ago

Resolved in #125