aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy.sh (unfollow)
Commit message (Collapse)AuthorLines
2018-06-08Force logger handlers in a safer wayGravatar Gareth Coles-1/+5
2018-06-07Force redeployGravatar Gareth Coles-0/+1
2018-06-07Collect avatar URLs and send them to the siteGravatar Gareth Coles-1/+8
2018-06-07Move CONTRIBUTING.mdGravatar Gareth Coles-0/+0
2018-06-07GitHub -> GitLabGravatar Gareth Coles-17/+17
2018-06-07Force all loggers to use our handlers, and disable papertrailGravatar Gareth Coles-21/+19
2018-06-06Update gitignore for logfilesGravatar Gareth Coles-2/+2
2018-06-06Use stdout for loggingGravatar Gareth Coles-2/+2
2018-06-06[Logging] Fix dumb mistakeGravatar Gareth Coles-1/+1
2018-06-06Lint, and add "docker" tag to buildsGravatar Gareth Coles-1/+7
2018-06-06LintingGravatar Gareth Coles-2/+1
2018-06-06Let's not log TRACE/DEBUG in prodGravatar Gareth Coles-1/+1
2018-06-06Log JSON to stderr when not in debug modeGravatar Gareth Coles-4/+17
2018-06-06RabbitMQ service discoveryGravatar Gareth Coles-2/+34
2018-06-06[CI] Misnamed YAML fileGravatar Gareth Coles-0/+0
2018-06-06[CI] Build on GitLabGravatar Gareth Coles-31/+41
2018-06-06Fix PEP machineGravatar Gareth Coles-1/+1
2018-06-06Fix PEP machineGravatar Gareth Coles-1/+1
2018-06-06Fix build and build base on TravisGravatar Gareth Coles-1/+15
2018-06-06Update Docker base file with libxml2-devGravatar Gareth Coles-0/+1
2018-06-06Add documentation lookup support. (#53)Gravatar Johannes Christ-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`.
2018-06-06Fetch pep (#77)Gravatar Henrik Böving-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
2018-06-05LintingGravatar Gareth Coles-1/+1
2018-06-05[Verification] Don't break if another bot removed the messageGravatar Gareth Coles-3/+11
2018-06-03remove deploy.py [ci skip]Gravatar Christopher Baklid-9/+1
2018-06-02[RST] Better handling for timestamps and colours in embedsGravatar Gareth Coles-5/+27
Also adds python-dateutil dependency
2018-06-02s/AutoShardedBot/Bot/g (#93)Gravatar Johannes Christ-32/+32
2018-05-31[RMQ] Finish events implementationGravatar Gareth Coles-5/+141
2018-05-30RabbitMQ Cog (#90)Gravatar Gareth Coles-59/+96
* Add aio-pika reqs and remove flake8-bandit so I can lint again * RMQ cog * Address review * Address review; remove unnecessary function
2018-05-30Address review; remove unnecessary functionGravatar Gareth Coles-9/+1
2018-05-30Escape unicode (#92)Gravatar Henrik Böving-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
2018-05-30Address reviewGravatar Gareth Coles-3/+12
2018-05-30RMQ cogGravatar Gareth Coles-0/+72
2018-05-30Add aio-pika reqs and remove flake8-bandit so I can lint againGravatar Gareth Coles-59/+23
2018-05-30[Constants] Hint constants classes, and add a few constantsGravatar Gareth Coles-0/+65
2018-05-23remove vagrant [ci skip]Gravatar Christopher Baklid-87/+0
2018-05-22Fixing the recursion bugGravatar Leon Sandøy-1/+1
2018-05-22Configure constants with YAML file(s) (#57)Gravatar Volcyy-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.
2018-05-20Fix typing issueGravatar Gareth Coles-1/+1
2018-05-20Small formatting fixes; don't send users that don't have the developer roleGravatar Gareth Coles-2/+10
2018-05-20Snake cog bugfixes (#81)Gravatar Leon Sandøy-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
2018-05-19install missing dependency for pillow [ci skip]Gravatar Christopher Baklid-0/+1
2018-05-19fix pillow install and update pipenv lockGravatar Christopher Baklid-465/+518
2018-05-19Re-instate pillow in PipfileGravatar Joseph-1/+1
2018-05-19re-add snake cog and install zlib in base containerGravatar Christopher Baklid-1/+2
2018-05-19Revert commit changing users urlGravatar Joseph-1/+1
2018-05-19Switch back users urlGravatar Joseph-1/+1
2018-05-19Temporarily disable snakes cog while we fix a zlib issueGravatar Joseph-2/+2
2018-05-19Add missing module to PipfileGravatar Joseph-0/+1
2018-05-19Snake cog (#78)Gravatar Leon Sandøy-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