| Commit message (Collapse) | Author | Lines |
|
It can be used to test aiohttp request functions, since they are async context managers
|
|
The use of lambdas made the functions hard to test, this new format allows us to easily test those functions and document them.
|
|
If the eval message is edited after less than 10 seconds, an emoji
is added to the message, and if the user adds the same, the snippet
is re-evaluated. This make easier to correct snipper mistakes.
|
|
It could lead to a misleading result if it is stripped.
|
|
In the scenario where a user has a custom status set to only an emoji & blank text value, their activity status is set as `None`, which causes `discord.utils.escape_markdown` to raise an exception, as it's expecting something string-like.
We can guard against this by checking for a `None` value & skipping the markdown escape if necessary.
|
|
Added discord.py's server to the invite whitelist
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Some PEPs have a metadata field that is present but has an empty value (e.g. PEP 249), causing an exception to be raised when attempting to add it as an embed field value, which cannot be empty.
This refactors the information parsing to prevent the field from being added if there is no value to provide, as well as cut down on copy+paste when populating fields in the embed.
|
|
|
|
With the addition of the #game-development channel, I would expect we'll see an increase in people needing specific help with the various engines and libraries that Python has to offer. As part of this, I'm adding the servers for PyGame and Ren'Py to the white list to help people get to the proper resources they might need.
|
|
|
|
|
|
|
|
Makes it clear which user it is in the case of an ID being used to
invoke the command.
|
|
Discord has a built-in player for all of these and they are really just stripped down videos, which are allowed.
|
|
|
|
|
|
It allows the cog to also work on Windows, because of Signals.SIGKILL not being defined on this platform
|
|
|
|
|
|
|
|
|
|
|
|
When debugging, the response_text exceeds the character limit since it's
basically an entire HTML document.
|
|
|
|
I have added attributes to the Emojis class in `bot.constants` for the newly added ducky emoji constants.
|
|
* Show the user in the post_infraction error log message
|
|
I have added the IDs of the new duckies we have to the constants
|
|
There's now a check to see if the `user` argument (possibly a
`discord.Object`) needs to be made a `User`, instead of doing so
directly, to avoid unnecessary requests to the Discord API. Besides
that, a possible HTTPException is catched if it the fetch fails,
cancelling the message to be send to the user (which would make the
following calls fail later on for not being of the proper type.)
|
|
Also includes the following related formats:
- .svg
- .ai (Adobe Illustrator)
- .aep (Adobe After Effects)
- .xcf (GIMP
|
|
This changes also removes the original `proxy_user` used by
`watchchannels` the attributes in its `discord.Object` object to the one
returned by FetchedUser.
|
|
|
|
It turns out how it was originally was the best idea. Now the
`infractions` module imports `FetchedUser` and makes a `typing.Union`
between it and `utils.UserTypes`. The usage of `FetchedUser` isn't
needed in `utils` at all, and it shouldn't be used for/as type hinting there.
|