snoonetIRC / CloudBot

CloudBot - The simple, fast, expandable, open-source Python IRC Bot!
GNU General Public License v3.0
67 stars 52 forks source link

Refactored gaming plugin for project consistency and rewrote coin flip function #391

Open leonthemisfit opened 5 years ago

leonthemisfit commented 5 years ago

The plugin's docstrings were not consistent with the rest of the project and have been updated to better reflect that. The coin flip function has also been rewritten with new logic that estimates large flip amounts in a cleaner more maintainable manner while still providing very similar results to the original method.

codecov[bot] commented 5 years ago

Codecov Report

Merging #391 into gonzobot will increase coverage by 0.02%. The diff coverage is 28.57%.

Impacted file tree graph

@@             Coverage Diff              @@
##           gonzobot     #391      +/-   ##
============================================
+ Coverage     43.27%   43.29%   +0.02%     
============================================
  Files           208      208              
  Lines         13122    13130       +8     
============================================
+ Hits           5678     5685       +7     
- Misses         7444     7445       +1
Impacted Files Coverage Δ
plugins/gaming.py 22.22% <28.57%> (+5.73%) :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 ba8d931...7d40650. Read the comment docs.