Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
2019-02-16 | Fixed grammar, quotation style and dictionary style | -11/+12 | ||
2019-02-16 | Unindented comment | -1/+1 | ||
2019-02-16 | Fixed an issue with the request | -20/+19 | ||
2019-02-16 | Fixed log.warning | -1/+1 | ||
2019-02-16 | Made warning message more explicit | -3/+4 | ||
2019-02-16 | Added logging for KeyError | -0/+2 | ||
2019-02-15 | 2nd code review complete. Default roll once and warning to roll at least ↵ | -2/+2 | ||
once implemented. | ||||
2019-02-16 | Used bot.http_session instead of creating a new session, and now checking ↵ | -16/+19 | ||
for KeyError | ||||
2019-02-15 | Removed "Generator" fom log.debug | -1/+1 | ||
2019-02-15 | Fixed quotation style, removed unnecessary newline | -14/+13 | ||
2019-02-15 | Fixed grammar issues, Moved constants to the top, Changed function name | -14/+13 | ||
2019-02-15 | Fix LoveCalculator 0% bug | -3/+3 | ||
Recently a test of the .love command revealed an unintentional reaction when 100% are reached. In previous versions this command had used a gigantic conditional block, checking for the current percentage given by the love_meter formula. When reaching 0 (meaning that the UserID's evenly divided with 100) it would automatically convert that 0 to 100. A big mistake from my side back then. This has been fixed with these changes. By quickly modifying the formula to use a mod 101 instead of a mod 100, we get an accurate percentage, ranging from 0-100% instead of 0-99%. love_matches.json has also been fixed to address these changes, meaning that the lowest entry now actually is 0 and the highest 100. TL;DR: -> Edited love_meter formula to calculate mod 101 instead of mod 100 -> Edited lowest and highest entry in love_matches.json to be 0 and 100 | ||||
2019-02-14 | Code review changes implemented. Reverted so error handling is done by base bot. | -15/+7 | ||
2019-02-14 | changed import order | -1/+1 | ||
2019-02-14 | removed print function | -1/+0 | ||
2019-02-14 | Replaced urlib with aiohttp , added docstrings and fixed issues | -22/+24 | ||
2019-02-14 | created | -1/+3 | ||