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

Added missing error handlers and doc comments to cogs #94

Closed snapcat closed 2 years ago

snapcat commented 2 years ago

Summary

Added missing error handlers and doc comments to cogs.

* deadline.py
* groups.py
* newComer.py
* ping.py
* pinning.py
* voting.py

Changed Files

See all changes here

* deadline.py
* groups.py
* newComer.py
* ping.py
* pinning.py
* voting.py

Checklist

Test cases will be added later in case of major changes made to cogs.


Closing Issues

Please comment on any closing issues if you approve this PR.

Resolves #80 Resolves #85

Bugs, Notes

#### Contributors @snapcat
codecov-commenter commented 2 years ago

Codecov Report

Merging #94 (439f2a0) into main (0202c8f) will decrease coverage by 2.97%. The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
- Coverage   72.97%   70.00%   -2.98%     
==========================================
  Files          11       11              
  Lines         729      790      +61     
==========================================
+ Hits          532      553      +21     
- Misses        197      237      +40     
Impacted Files Coverage Δ
cogs/ping.py 100.00% <ø> (ø)
cogs/pinning.py 64.61% <0.00%> (-5.88%) :arrow_down:
cogs/deadline.py 62.58% <30.76%> (-4.09%) :arrow_down:
cogs/newComer.py 80.00% <33.33%> (-8.24%) :arrow_down:
cogs/groups.py 51.77% <42.85%> (-2.62%) :arrow_down:
cogs/voting.py 83.67% <50.00%> (-3.29%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0202c8f...439f2a0. Read the comment docs.