aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * [Logging] Fix dumb mistakeGravatar Gareth Coles2018-06-06-1/+1
| |
| * Lint, and add "docker" tag to buildsGravatar Gareth Coles2018-06-06-1/+7
| |
| * LintingGravatar Gareth Coles2018-06-06-2/+1
| |
| * Let's not log TRACE/DEBUG in prodGravatar Gareth Coles2018-06-06-1/+1
| |
| * Log JSON to stderr when not in debug modeGravatar Gareth Coles2018-06-06-4/+17
| |
| * RabbitMQ service discoveryGravatar Gareth Coles2018-06-06-2/+34
| |
| * [CI] Misnamed YAML fileGravatar Gareth Coles2018-06-06-0/+0
| |
| * [CI] Build on GitLabGravatar Gareth Coles2018-06-06-31/+41
| |
* | Revert "Cast to list in events.py so there is no 'filter object does not ↵Gravatar Joseph2018-06-13-1/+1
| | | | | | | | | | | | have length' error" This reverts commit 6bfaffbf6d8d8ed2371f955a8a20dfcba3fddc57.
* | Cast to list in events.py so there is no 'filter object does not have ↵Gravatar Joseph2018-06-13-1/+1
|/ | | | length' error
* Fix PEP machineGravatar Gareth Coles2018-06-06-1/+1
|
* Fix PEP machineGravatar Gareth Coles2018-06-06-1/+1
|
* Fix build and build base on TravisGravatar Gareth Coles2018-06-06-1/+15
|
* Merge remote-tracking branch 'origin/master'Gravatar Gareth Coles2018-06-06-4/+787
|\
| * Add documentation lookup support. (#53)Gravatar Johannes Christ2018-06-06-4/+703
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow users to query documentation link. * Show symbol signature and excerpt from docs. * Use `•` character for showing list items. * Trim whitespace after two newlines. * Allow users to query documentation link. * Show symbol signature and excerpt from docs. * Use `•` character for showing list items. * Trim whitespace after two newlines. * Add docstrings, simplify command. * Use a cache for getting doc embeds. * Suppress `urllib3` log messages below WARNING. * Use shared `http_session` on the bot. * Comment `fetch_initial_inventory_data`, unpack URL directly. * Address various review comments. - use `str.format` for generating the stdlib documentation URLs - move `convert_code` comment to a docstring - fix up python syntax parsing by not using a `*` - send red error embeds when documentation could not be found * Use `lxml` for HTML parsing. * Pin yarl to 1.1.1 * Use the website's API as package documentation metadata database. * Fetch inventories concurrently. * Use red error embed & error title on error. * Add examples to command docstrings. * Use typing notifications instead of edits. * Flush cache on inventory refresh. * Address @martmists' review comments. * Use `BadArgument` instead of custom exception class. * Move universal converters to `bot/converters.py`.
| * Fetch pep (#77)Gravatar Henrik Böving2018-06-06-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * autocodeblocking * ast fix better type annotations * ci there you go * line too long ==> remove comment * deleting message + lowercase python * comments * remove docstrings * you may * not sure what you mean with move to a new line maybe this? * descriptive enough? * better explanation of text filtering * rewrite * fstring * pep8 * better comment * discord message length * ok shady * ok shady * "This is still async discord.py" * didnt see josephs comment * minor comment changes * blank and typo * typo.. * embed sending * adding waiting time + embed dont know if this is the correct way to store the field string * forgot await * but now i know * i heard him * pls * more descriptive variable name * comment * and better string formatting * approve me lemon * here we go aperture * there we go again * name error..... damn linter plugins * you get it aperture * ok lemon * ok aperture * constants instead of plain channel ID * forgot one * constants in bot.py * lemons way ftw * flake8 is weird man * aperture 1 * next aperture * dunno * imports * next lemon * utils first try, command is not found * still not working * pep alias, no debugging output for reasons * pep parser * flake8 * local flake8 didnt show that one.. * More not needed info * ... * better embed * pep8 * removing a blank * upgrading to yml config * fixing my Germanness and other stuff lemon didnt like * addressing more issues
* | Update Docker base file with libxml2-devGravatar Gareth Coles2018-06-06-0/+1
|/
* LintingGravatar Gareth Coles2018-06-05-1/+1
|
* [Verification] Don't break if another bot removed the messageGravatar Gareth Coles2018-06-05-3/+11
|
* remove deploy.py [ci skip]Gravatar Christopher Baklid2018-06-03-9/+1
|
* [RST] Better handling for timestamps and colours in embedsGravatar Gareth Coles2018-06-02-5/+27
| | | | Also adds python-dateutil dependency
* s/AutoShardedBot/Bot/g (#93)Gravatar Johannes Christ2018-06-02-32/+32
|
* Merge branch 'rmq'Gravatar Gareth Coles2018-05-31-5/+141
|\ | | | | | | | | # Conflicts: # bot/cogs/rmq.py
| * [RMQ] Finish events implementationGravatar Gareth Coles2018-05-31-5/+141
| |
| * Address review; remove unnecessary functionGravatar Gareth Coles2018-05-30-9/+1
| |
| * Address reviewGravatar Gareth Coles2018-05-30-3/+12
| |
| * RMQ cogGravatar Gareth Coles2018-05-30-0/+72
| |
| * Add aio-pika reqs and remove flake8-bandit so I can lint againGravatar Gareth Coles2018-05-30-59/+23
| |
* | RabbitMQ Cog (#90)Gravatar Gareth Coles2018-05-30-59/+96
| | | | | | | | | | | | | | | | | | | | * Add aio-pika reqs and remove flake8-bandit so I can lint again * RMQ cog * Address review * Address review; remove unnecessary function
* | Escape unicode (#92)Gravatar Henrik Böving2018-05-30-1/+6
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * autocodeblocking * ast fix better type annotations * ci there you go * line too long ==> remove comment * deleting message + lowercase python * comments * remove docstrings * you may * not sure what you mean with move to a new line maybe this? * descriptive enough? * better explanation of text filtering * rewrite * fstring * pep8 * better comment * discord message length * ok shady * ok shady * "This is still async discord.py" * didnt see josephs comment * minor comment changes * blank and typo * typo.. * embed sending * adding waiting time + embed dont know if this is the correct way to store the field string * forgot await * but now i know * i heard him * pls * more descriptive variable name * comment * and better string formatting * approve me lemon * here we go aperture * there we go again * name error..... damn linter plugins * you get it aperture * ok lemon * ok aperture * constants instead of plain channel ID * forgot one * constants in bot.py * lemons way ftw * flake8 is weird man * aperture 1 * next aperture * dunno * imports * next lemon * unicode escape sequences so gdude can lint again
* [Constants] Hint constants classes, and add a few constantsGravatar Gareth Coles2018-05-30-0/+65
|
* remove vagrant [ci skip]Gravatar Christopher Baklid2018-05-23-87/+0
|
* Fixing the recursion bugGravatar Leon Sandøy2018-05-22-1/+1
|
* Configure constants with YAML file(s) (#57)Gravatar Volcyy2018-05-22-738/+959
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Load various constants from `.yml` file. * Ignore user-provided `config.yml`. * Support environment variables in YAML configuration. * Use "class-based" configuration. * Configure logging properly. * Move the last few constants to YAML. * Fix recursive update accidentally overriding mappings. * Read bot token from YAML configuration. * Add documentation strings and `KeyError` handling. * Remove coding setting from constants module. * Add `help4` channel ID to `config-default.yml`. * Fix a few linting issues from merge. * s/Channels.help1/Channels.help0/g * s/Channels.help2/Channels.help1/g * s/Channels.help3/Channels.help2/g * s/Channels.help4/Channels.help3/g * Adress @JoeBanks13's review comments. * Put a block comment above dataclasses.
* Fix typing issueGravatar Gareth Coles2018-05-20-1/+1
|
* Small formatting fixes; don't send users that don't have the developer roleGravatar Gareth Coles2018-05-20-2/+10
|
* Snake cog bugfixes (#81)Gravatar Leon Sandøy2018-05-20-13/+14
| | | | | | * This should fix the problem with snakes.video, and is generally a good idea to prevent https-related errors. * This should fix the recursion error in the snakes.snakify feature
* install missing dependency for pillow [ci skip]Gravatar Christopher Baklid2018-05-19-0/+1
|
* fix pillow install and update pipenv lockGravatar Christopher Baklid2018-05-19-465/+518
|
* Merge branch 'master' of github.com:discord-python/botGravatar Joseph2018-05-19-1/+2
|\
| * re-add snake cog and install zlib in base containerGravatar Christopher Baklid2018-05-19-1/+2
| |
* | Re-instate pillow in PipfileGravatar Joseph2018-05-19-1/+1
|/
* Revert commit changing users urlGravatar Joseph2018-05-19-1/+1
|
* Switch back users urlGravatar Joseph2018-05-19-1/+1
|
* Temporarily disable snakes cog while we fix a zlib issueGravatar Joseph2018-05-19-2/+2
|
* Add missing module to PipfileGravatar Joseph2018-05-19-0/+1
|
* Snake cog (#78)Gravatar Leon Sandøy2018-05-19-81/+2271
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added the random_snake_name feature, created by Iceman * Added Antidote to the snake_cog. * Add the snake quiz from Team 7 - Mushy and Cardium - to the snakes cog. (#74) Original PR: https://github.com/discord-python/code-jam-1/pull/2 Completes task: https://app.clickup.com/754996/757069/t/2ww7u * Cleaned up the snake quiz * Cleaning up snake_quiz further and integrating it towards the new API for snake questions. * Bugfixes for Antidote and Quiz * Implemented the zzzen of pythhhon, by prithaj and andrew. * Added the snake facts feature by Andrew and Prithaj. Also cleaned up some code smell. * Implemented the snake_videos feature. Also made a fix for a bug with https sessions on local aiohttp * Implemented Momo and kel's snake perlin noise gen draw feature * Implemented the hatch feature from Momo and Kels PR * Implemented the snakemefeature from the momo and kel PR, with big modifications. It no longer uses markov, it was just too slow to get it to do something interesting. It can also be passed a message to snakify that instead. * Started on Snakes and Ladders, but want to refactor it to use reactions. Fixed up the perlin noise gen to generate random snake attributes. * Movie command, initial version * Snakes and Ladders implemented and rewritten to use reactions for controls. * made the snek draw feature even more fabulous. * SAL, get_snek, perlin * Fixing some minor problems with startup log spam. The bot will now only try to post to DEVLOG if it's not in debug mode. Also added the new snake API endpoints and prepping for database handling of all snek related datapoints. * Pointed all relevant functions at their respective snake API endpoints. Tested. All the data is now in our database, and everything appears to work. * Added the guessing game by Ava and eivl * Trailing comma, baby * Added snake cards. * Added the snakes.about command, and cleaned up the cog. Still got a couple of bugs with snake_card, but other than that this is done. * Some fixes for the snake cards. Cards now use the converter on the snake input, so it can disambiguate just like .get. Also made the special cases like bob ross available to both .get and .card * Some fixes to address Volcyy's review. * Addressing comments by gdude on the site PR * Changes requested by Joseph
* Fix some silly type hintsGravatar Gareth Coles2018-05-15-2/+2
|
* [GDPR] Also remove OAuth dataGravatar Gareth Coles2018-05-15-1/+6
|
* [GDPR] Perhaps awaiting the coroutine is a good ideaGravatar Gareth Coles2018-05-15-1/+1
|