aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Migrate pickup lines cog to new d.py cogsGravatar sco12019-03-19-1/+1
|
* Merge branch 'master' into dpy-cog-changesGravatar sco12019-03-19-11/+152
|\
| * Merge pull request #144 from MadisonMcdonald/encoding-fixGravatar Daniel Brown2019-03-19-11/+11
| |\ | | | | | | specify UTF-8 for opening snake resources JSON
| | * Update bot/resources/snakes/snake_facts.jsonGravatar Derek2019-03-19-1/+1
| | | | | | | | | Co-Authored-By: MadisonMcdonald <[email protected]>
| | * Update bot/resources/snakes/snake_facts.jsonGravatar Mark2019-03-18-2/+2
| | | | | | | | | Co-Authored-By: MadisonMcdonald <[email protected]>
| | * changes lemon made me doGravatar Madison Mcdonald2019-03-18-9/+9
| |/
| * Merge pull request #140 from Suhail6inkling/pickup-linesGravatar Johannes Christ2019-03-15-0/+141
| |\ | | | | | | Pickup Lines
| | * Requested ChangesGravatar Suhail2019-03-14-13/+14
| | |
| | * Pickup LinesGravatar Suhail2019-03-14-0/+140
| |/ | | | | Includes the File for the cog containing the command in addition to the JSON file containing the list of pickup lines
* | Add missed error listener decoratorGravatar sco12019-03-09-0/+1
| |
* | Fix incorrect d.py ref & relockGravatar sco12019-03-09-2/+134
| |
* | Migrate snakes cog to new d.py cogsGravatar sco12019-03-09-2/+2
| |
* | Fix d.py version pinning & relockGravatar sco12019-03-09-134/+2
| | | | | | Merge conflict incorrectly resolved
* | Merge branch 'master' into dpy-cog-changesGravatar sco12019-03-09-21/+5664
|\|
| * Merge pull request #138 from python-discord/docker-fixGravatar scragly2019-03-09-7/+140
| |\ | | | | | | Fix Docker build issues
| | * Add PIP_SRC to lint pipeline envs.Gravatar Scragly2019-03-09-0/+1
| | |
| | * Venv in project, add `.cache` in lint ignore.Gravatar Scragly2019-03-09-2/+3
| | |
| | * Add new lock file.Gravatar Scragly2019-03-09-0/+481
| | |
| | * Base container py3.7 update, add libffi-dev for aiodns v2.0Gravatar Scragly2019-03-09-353/+3
| |/
| * Merge pull request #133 from python-discord/snake-cogGravatar scragly2019-03-09-83/+5615
| |\ | | | | | | | | | | | | Snake cog
| | * Stray printGravatar Christopher Goes2019-03-05-1/+0
| | |
| | * Formating and linter fixesGravatar Christopher Goes2019-03-05-42/+27
| | |
| | * Make this pig flyGravatar Chris Goes2019-03-04-27/+15
| | |
| | * Initial move of Snakes cog from the bot to seasonalbotGravatar Chris Goes2019-03-04-80/+5640
| | |
| * | Merge pull request #135 from kosayoda/server-icon-fixGravatar Leon Sandøy2019-03-07-12/+19
| |\ \ | | | | | | | | Prevent SeasonalBot from changing server icon during off-season periods
| | * | Added `bot_icon` attribute to `SeasonBase` to handle bot-only avatarsGravatar kosayoda2019-03-07-14/+18
| | | | | | | | | | | | | | | | | | | | * The `icon` attribute of the `SeasonBase` class now defaults to the original server icon. * Getting avatar icons through `get_icon` by passing in `avatar=True` returns `bot_icon` if present.
| | * | Prevent SeasonalBot from changing server icon during off-season ↵Gravatar kosayoda2019-03-07-2/+5
| |/ / | | | | | | | | | (non-evergreen) periods.
| * | Update season.pyGravatar Leon Sandøy2019-03-06-1/+1
| | |
* | | Add newlinesGravatar sco12019-03-05-2/+2
| | | | | | | | | flake8 shame...
* | | Add Cog inheritance to Valenstate cogGravatar sco12019-03-05-1/+1
| | |
* | | Set cog load log messages to infoGravatar sco12019-03-05-20/+22
| | | | | | | | | Per the contributor doc
* | | Merge branch 'master' into dpy-cog-changesGravatar sco12019-03-05-4/+218
|\| |
| * | Merge pull request #129 from darthdelay/myvalenstateGravatar S. Co12019-03-05-0/+207
| |\ \ | | | | | | | | Add .myvalenstate
| | * | Fix myvalenstateGravatar Darth Delay2019-03-05-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A bug appeared, that, if a user were to have only one or two Valenstates, would throw an IndexError, thus blocking the command to run at its fullest. This commit aims at fixing this bug by refining how the leftovers are handled: Before there was only one line determining the leftover string, that was than put into the embed's add_field method with some extra stuff around it and a fixed title. This has now been changed to having a variable title changing with the length of the matches list. For example if you have 3 original matches, the matches list would be of length 2, thus the original title is displayed. If you have only 2 or just 1 match however, the matches list would be of length 1 or 0, each of which feature their own title and text now. Some style changes have been made as well: the add_field and set_image methods are now one liners.
| | * | Update myvalenstate.py to address requested changesGravatar Darth Delay2019-03-05-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A few things have been changed: - The comment under STATES = json.load(file) was useless and has been removed - A logging statement has been put under the setup function: log.debug("MyValenstate cog loaded")
| | * | 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(' ', ''))
| * | | Merge pull request #91 from python-discord/join-code-dmGravatar Leon Sandøy2019-03-05-4/+11
| |\ \ \ | | |_|/ | |/| | AoC Join Code Refactor
| | * | Review-directed reformattingGravatar sco12019-01-05-3/+1
| | | |
| | * | Remove unused importsGravatar sco12018-12-26-2/+1
| | | |
| | * | Remove local env var modification commandGravatar sco12018-12-26-16/+1
| | | |
| | * | Remove extraneous whitespaceGravatar sco12018-12-10-1/+1
| | | |
| | * | Add staff command to change AoC leaderboard join codeGravatar sco12018-12-10-1/+16
| | | |
| | * | Refactor aoc join to DM user with join codeGravatar sco12018-12-10-3/+13
| | | |
| | * | Update static files for new code functionalityGravatar sco12018-12-10-2/+2
| | | |
* | | | Add Cog inheritance to season loaderGravatar sco12019-03-04-1/+1
| | | |
* | | | Fix import orderGravatar sco12019-03-04-1/+1
| | | | | | | | | | | | flake8-import-order was recently updated to 0.18.1, which fixes some issues with the pycharm import style
* | | | Update packages & relockGravatar sco12019-03-04-78/+107
| | | |
* | | | Add new Cog class inheritance & event listener decorationGravatar sco12019-03-03-23/+30
|/ / / | | | | | | Mitigates recent breaking d.py changes
* | | Merge pull request #112 from RohanJnr/be-my-valentine-icemanGravatar Jeremiah Boby2019-02-27-0/+286
|\ \ \ | | | | | | | | Added command .bemyvalentine
| * | | Address grammatical errors.Gravatar Scragly2019-02-27-14/+11
| | | |