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

[Fix] polling.py refactor #116

Closed snapcat closed 2 years ago

snapcat commented 2 years ago

Summary

Refactored polling.py!

$poll QUESTION $quizpoll "TITLE" [option 1] [option2] ... [option 6]

$poll command creates a simple reaction poll with thumbs up, thumbs down, or unsure.

$quizpoll command creates a multi-reaction poll with options A-F.

Changed Files

polling.py

Checklist

Note: ensure that all new code has test coverage!

Tests will be handled later!


Closing Issues

Resolves #114 Resolves #113 Resolves #115 Resolves #109

Notes

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

Codecov Report

:exclamation: No coverage uploaded for pull request base (group25-pooling@4601cfb). Click here to learn what that means. The diff coverage is n/a.

Impacted file tree graph

@@                Coverage Diff                 @@
##             group25-pooling     #116   +/-   ##
==================================================
  Coverage                   ?   81.54%           
==================================================
  Files                      ?       12           
  Lines                      ?     1474           
  Branches                   ?        0           
==================================================
  Hits                       ?     1202           
  Misses                     ?      272           
  Partials                   ?        0           

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 4601cfb...8f4a431. Read the comment docs.