| Commit message (Collapse) | Author | Lines |
|
* 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.
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
to use AF_INET on local sessions (#76)
|
|
Bumps [multidict](https://github.com/aio-libs/multidict) from 4.2.0 to 4.3.1.
- [Release notes](https://github.com/aio-libs/multidict/releases)
- [Changelog](https://github.com/aio-libs/multidict/blob/master/docs/changes.rst)
- [Commits](https://github.com/aio-libs/multidict/compare/v4.2.0...v4.3.1)
Signed-off-by: dependabot[bot] <[email protected]>
|
|
* Python parser now handles single bracket calls like . This solves a problem where these messages would get stuck in #checkpoint and never get removed. Also added #bot-commands to codeblock parsing whitelist so there is no cooldown in that channel anymore.
* Refactored whitelist into a cog attribute, and made it a tuple.
* these debug logs should be trace logs
* Refactored a bit to make whitelist vs cooldown a bit more intuitive. whitelist channels shouldn't have to be in the cooldown dict.
* Fixed stupid idiot f-string moron factory fuckup
|
|
|
|
* adding detection for bad ticks
* no more codeblock tag
* several minor changes and a seperate function for repl stripping
* fixing linter issues
* improving repl stripper
* line limit
* better comments
* logging
* New sings, reformatting strings and removing one fstring lemon missed
* improved logging
* now exchanging bad ticks and sending backtick + codeblocking hint
* removing the need for a codeblock to be a python one
* Reworked the which hint to send when logic
* damn flake8
* this should fix the issues addressed by lemon
* lemons other issues
* forgot to save....
* rstrip
* now fixing overidented code
* merging caused code format issues
* ...
* adding support for bad indentation fixing
* dont requrie py or python to be at the code block, move mention out of the embed
* typo
* improved bad ticks hint
* refactoring the embed yet AGAIN and ignoring code with backticks in it
* neeew embeds
* perfect formatting
* leaving repl code in the embed
* flake8......(and auto spaces)
* ......
* adding support for not complete python at beginning of the codeblock
* issue with bad tick detection fixed
* more logging, always sending hint once repl detected
* too much logging
* fixes to 'when to send the repl hint'
* forgot to remove a debug print
* better comments
* even better comments
* more and better comments, fixed one bug with returning in codeblock_stripping
* flake8......(and auto spaces) again
* addressed all the issues by lemon
* oversaw one
* DESTROY JUAN
* blank line for readability
* flake8
* ....
* apertures issues
|
|
|
|
|
|
|
|
* Show different footer for `keys` and `get`.
* Add alternative syntax invocation to help command.
* Differentiate between `()` in command invocation or not.
|
|
upgrades alpine to 3.7 and adds pipenv commands for docker
|
|
|
|
|
|
logical fuckup on my account.
|
|
* Cleaned up the python parser by abstracting a little, and added a few channels as exceptions to the tags cooldown system
* Refactored to make the code more DRY
* Addressing Volcyy's requests for change
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Dockerfile and new deploy flow that builds the container in travis
|
|
|
|
|
|
nicknames while bot staging is running. Also fixed a couple of minor aesthetic problems with the hiphopify embed. (#61)
|
|
* Declaring the encoding to be utf-8 is not necessary in Python3 projects, as this is the default encoding. Encoding declarations are only useful in py3 if you want to declare it to be something _other_ than utf-8. This was, however, a very useful convention in py2.
* No blank lines at the top of file. Also snuck in a single letter typo correction in hiphopify because I'm a terrible person. inb4 THIS IS NOT IN SCOPE FOR THIS PR
|
|
* Use converters for tag command argument validation.
* Remove now unused imports.
* Show red embed with an error message.
This also adds a `CogBadArgument` class, which is intended to be
used with command error handlers in cogs in order to handle their
own `BadArgument` exceptions without having `on_command_error` do so.
* Placate the flake8
|
|
* Boilerplate for the new hiphopify cog, and a new feature for the python parser - we can now parse role mentions, channel mentions, and user mentions without wrapping them in quotes.
* Got the bot.unhiphopify feature working. Still needs polish. Also added required constants.
* Moved some constants out of tags and hiphopify and into the constants file. Fixed a bug with the python parsing monkeypatch where regular non-python style parsing would no longer allow mentions. Wrote the on_member_change event handler and the bot.hiphopify feature. Almost ready for testing.
* cleaning up constants
* Now logging the hiphopify events into #mod-log
* Adding a little extra logging
* Added an explicit catch and warning log if the user has disabled DMs or blocked the bot, as this would cause discord to raise an error. Also addressed the feedback from Joseph and Apertures reviews.
|