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

Group25 deadline enhance #125

Closed etracey7 closed 2 years ago

etracey7 commented 2 years ago

Summary

Adds enhancements to dealines/reminders

New Commands: $overdue $clearoverdue

New Tasks: Sends reminders if something is due within the hour (runs 1/hour) Send reminders if something is due that day (runs 1/day at 8:00am EST)

Changes to old commands: Date input is more flexible and includes timezone option ($addhw, $changeduedate) Date output is formatted and includes timezone and is sent to user privately ($duetoday, $duethisweek, $listreminders)

New Files

Deleted Files

Changed Files

deadline.py test_bot.py

Checklist

Note: ensure that all new code has test coverage!


Closing Issues

Use closes #XXXX if your PR resolves an issue. To close multiple issues, use: resolves #1, resolves #2, resolves... closes #122 closes #103 closes #22 closes #20 closes #19 closes #67

Bugs, Notes

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

Codecov Report

Merging #125 (a1d00f7) into main (e6125fb) will increase coverage by 3.67%. The diff coverage is 85.63%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #125      +/-   ##
==========================================
+ Coverage   85.93%   89.60%   +3.67%     
==========================================
  Files          12       12              
  Lines        1507     1867     +360     
==========================================
+ Hits         1295     1673     +378     
+ Misses        212      194      -18     
Impacted Files Coverage Δ
cogs/deadline.py 76.09% <72.82%> (+13.51%) :arrow_up:
test/test_bot.py 100.00% <100.00%> (ø)
cogs/pinning.py 83.07% <0.00%> (+18.46%) :arrow_up:

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 e6125fb...a1d00f7. Read the comment docs.