aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Add .myvalenstateGravatar Darth Delay2019-02-28-0/+202
| | | | | | | | | | | | | | | | | | | | | | | | | Closes #108 This pull request adds a beta version of the command myvalenstate. This command sends an embed containing a users valenstate to the channel it has been called in. The process used here is to first put the username into a spaceless, lower case form and than compare it to the countries listed under valenstates.json, put into the same form, using an implementation of the Levenshtein algorithm. This beta version already implements everything needed for the command to work properly. The follwing things are missing, not meant for the future full implementation or are subject to change if needed: - Short comments (25 missing) - name parameter in myvalenstate (not meant for staying/Debug) - Object names in valenstates.json (subject to change) (1) - Docstring for levenshtein (subject to change) - Docstring for myvalenstate (subject to change) (1) - The object names can be put into the right case to omit the operation operation on line 54 (lower_state = state.lower().replace(' ', ''))
* Update whoisvalentine.py to address requested changesGravatar Darth Delay2019-02-20-3/+5
| | | | | | | | | A few things have been changed to address the changes listed under PR #122: - Changed the color tag of the embed from both commands from discord.Color.dark_magenta() to bots.constants.Colours.pink - Renamed valentine_facts to valentine_fact These changes are needed to fit the projects standards.
* Add .who_is_valentine and .valentine_factsGravatar Darth Delay2019-02-19-0/+75
| | | | | | | | | | | | | | | | | | | | | | Closes #102 This pull request adds the commands who_is_valentine and valentine_facts. The who_is_valentine command sends information about Saint Valentine of Terni to the channel the command has been called in. This is done by making use of the valentine_facts.json file's 'whois' attribute, which has all the information stored in it. The valentine_facts command sends a random fact with a random title to the channel the command has been called in. This is done by making use of the of the valentine_facts.json file's 'titles' and 'text' attribute, in which both, the information for the titles and the facts are stored in. Both commands do have docstrings, which explain what the command does in an easy manner. At the moment, there's a really sparse amount of facts available. I seek to add a lot more in the near future.
* Add LoveCalculator as in #96Gravatar Darth Delay2019-02-05-2/+3
| | | | | | | This love calculator uses two user-IDs, adds them together and takes the modulus of 100 from it. Invocation: .love @user1#0000 @user2#0000
* Add LoveCalculator as in #96Gravatar Darth Delay2019-02-05-2/+2
| | | | | | | This love calculator uses two user-IDs, adds them together and takes the modulus of 100 from it. Invocation: .love @user1#0000 @user2#0000
* Added lovecalculator.py as described in #96:Gravatar Darth Delay2019-02-05-1/+1
| | | | | | - Includes LoveCalculator and somewhat of an error handler - Awaits two mentions like so: /love @user1#0000 @user2#0000 - Sends embed to the channel where /love has been called
* Added lovecalculator.py as described in #96:Gravatar Darth Delay2019-02-05-1/+1
| | | | | | - Includes LoveCalculator and somewhat of an error handler - Awaits two mentions like so: /love @user1#0000 @user2#0000 - Sends embed to the channel where /love has been called
* Added lovecalculator.py as described in #96:Gravatar Darth Delay2019-02-05-0/+118
| | | | | | - Includes LoveCalculator and somewhat of an error handler - Awaits two mentions like so: /love @user1#0000 @user2#0000 - Sends embed to the channel where /love has been called
* Merge pull request #95 from python-discord/add-valentines-seasonGravatar scragly2019-02-05-0/+20
|\ | | | | | | | | Add valentines season
| * Add valentines seasonGravatar Joseph Banks2019-02-03-0/+20
|/
* Update Contributor docGravatar sco12019-01-19-9/+45
|
* Remove autodeploy via `pepper`.Gravatar Johannes Christ2019-01-02-9/+0
|
* Fixing error in advent of code countdown by removing datetime prefixesGravatar Joseph Banks2018-12-26-2/+2
|
* Merge pull request #92 from python-discord/fix-advent-of-code-countdownGravatar Joseph2018-12-26-1/+10
|\ | | | | Fix advent of code countdown
| * Address flake8 complaintsGravatar Joseph Banks2018-12-26-1/+2
| |
| * Fix the grammar on the messageGravatar Joseph Banks2018-12-26-1/+1
| |
| * Address review commentsGravatar Joseph Banks2018-12-26-1/+4
| |
| * Add a notice to AoC countdown to find out if we are still in the advent of codeGravatar Joseph Banks2018-12-26-0/+4
| |
| * Fix is_in_advent() functionGravatar Joseph Banks2018-12-26-1/+2
|/
* Merge pull request #88 from scragly/si_2Gravatar Leon Sandøy2018-12-06-8/+35
|\ | | | | Send devlog notification on season load.
| * Fix comment typoGravatar Johannes Christ2018-12-06-1/+1
| | | | | | Co-Authored-By: scragly <[email protected]>
| * Send devlog message on season load.Gravatar Scragly2018-12-05-8/+35
| |
* | Merge pull request #89 from python-discord/lb-statsGravatar Leon Sandøy2018-12-06-3/+72
|\ \ | |/ |/| Private Leaderboard Daily Completion Statistics
| * Delete parenthesesGravatar sco12018-12-05-1/+1
| |
| * Fix leaderboard parsing regex to support twitter handlesGravatar sco12018-12-05-1/+1
| |
| * Add daily summary commandGravatar sco12018-12-05-6/+37
| |
| * Add daily summary statistics calculationGravatar sco12018-12-05-2/+40
|/ | | | Frame stats command Remove "stats" adjacent aliases for existing commands to avoid confusion
* Merge pull request #80 from scragly/season_improvementsGravatar Johannes Christ2018-12-04-92/+461
|\ | | | | Season Improvements
| * Use contextlib.suppress, remove unnecessary `u` prefix.Gravatar Scragly2018-12-04-11/+6
| |
| * Handle edit errors, tidy model and docsGravatar Scragly2018-12-03-65/+159
| |
| * Add season announcement supportGravatar scragly2018-12-03-17/+97
| |
| * Add season element set methods, add server icon change supportGravatar scragly2018-12-03-31/+118
| |
| * Allow Admin role env setting when debuggingGravatar scragly2018-12-03-1/+1
| |
| * Cleanup BaseclassGravatar scragly2018-12-03-57/+170
| |
* | Merge pull request #87 from python-discord/bytecommander-aoc2Gravatar Johannes Christ2018-12-04-8/+23
|\ \ | | | | | | Split .notifications toggle command into .subscribe and .unsubscribe
| * | Adapt code style according to reviewGravatar ByteCommander2018-12-03-3/+5
| | |
| * | Various fixes from review (squished)Gravatar ByteCommander2018-12-03-3/+4
| | |
| * | Split .notifications toggle command into .subscribe and .unsubscribeGravatar ByteCommander2018-12-03-8/+20
| |/
* | Merge pull request #86 from python-discord/bytecommander-aocGravatar Johannes Christ2018-12-03-15/+23
|\ \ | |/ |/| Improve countdown status (align to whole 5 minutes, better messages)
| * Improve countdown status (align to whole 5 minutes, better messages)Gravatar ByteCommander2018-12-03-15/+23
|/
* Merge pull request #76 from SnowyLuma/masterGravatar Leon Sandøy2018-12-02-1/+2
|\ | | | | Fix markdown for further reading links
| * Fix markdown for further reading linksGravatar SnowyLuma2018-11-24-1/+2
| |
* | Add private board membership total to embed (#82)Gravatar sco12018-12-02-2/+6
| | | | | | | | | | | | * Add private board membership total to embed * Fix flake8, description typo
* | AoC countdown (#81)Gravatar Joseph2018-12-02-2/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add countdown status and notifications * Remove debug print * flake8 my ass * Import order fixes * while is_in_advent() instead of while True * 2 * 60 => 120 * while is_in_advent() instead of while True in notifier
* | Fix global lb display to respect ties (#79)Gravatar sco12018-12-01-3/+8
| | | | | | | | | | Update member name regex to properly handle hyphens Remove session cookie from global leaderboard request
* | Docker: build-base. I love alpine but it's so easy to forget stuff.Gravatar Gareth Coles2018-12-01-1/+1
| |
* | Docker: Forgot zlib-devGravatar Gareth Coles2018-12-01-1/+1
| |
* | Docker: Add Pillow depsGravatar Gareth Coles2018-12-01-1/+1
| |
* | Change name arg into name kwarg to match other usagesGravatar Joseph Banks2018-12-01-1/+1
| |
* | Empty commit to redeployGravatar Joseph Banks2018-12-01-0/+0
| |