| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rename reverse -> oldest_first, which is more obvious what it does.
Then, honor it entirely - if you specify no `after` endpoint, we default
to the beginning of message history, similar to how `before` defaults to
the end of message history.
This is a breaking change, and will change the behavior of any iterator
that previously would have been returning messages in a weird order for
limits over 100
`for msg in history(reversed=True, limit=300)` would return the newest
300 messages, in a messed up order (100..0, 200..100, 300..200).
`for msg in history(oldest_first=True, limit=300)` will now return the
oldest 300 messages in order. And so on.
`for msg in history(after=msg)` is unchanged, this previously would
return the oldest 100 messages after `msg`, oldest->newest order, and
still will.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Certain decorators and functions expect coroutines and raise an
exception when this is not met. Change these to raise the appropriate
TypeError since they can't actually be handled by the user gracefully
anyway.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
This allows for URLs to be left alone since they can include markdown
characters and allows for total escaping of all markdown characters
by default to prevent some form of data manipulation.
|
| | |
|
| | |
|
| |
|
|
| |
Fix #1911
|
| | |
|
| |
|
|
| |
Attempted solution for #2040
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Fixes #1673
|
| | |
|
| |
|
|
| |
Fix #2016
|
| |
|
|
| |
Fixes #2043
|
| |
|
|
| |
Fixes #1885
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Change `parse_message_delete_bulk` to not dispatch individual
`message_delete` events, and instead `bulk_message_delete`. Also make
`raw_bulk_message` delete and `raw_message_delete` have message
objects attached.
Fixes #1807
|
| |
|
|
|
|
|
|
|
|
|
| |
Most assets now return a new class named `Asset`. This allows for the
assets to be consistently saved via a `save` method instead of special
casing for `Attachment`.
`AppInfo` is no longer a namedtuple it is a fully documented dataclass,
as well as having the state attached to it.
Fixes #1997
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Changing docs to fit other parts of the lib
Co-Authored-By: CapnS <[email protected]>
Removing Type Checking
Made all of Rapptz's suggested changes
Removing imports that are no longer needed
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
This fixes an issue where the context invoked_with does not match the
actual invoked with behaviour (e.g. using Context.send_help).
|
| | |
|
| |
|
|
| |
Most embed-only edits happen for the newest message.
|
| |
|
|
|
| |
This controls the behaviour of cooldown execution order. This does
not change the default behaviour however.
|
| |
|
|
|
| |
Fixes #1822
Fixes #1418
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Fix #2001
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Convert list comprehension to genexpr
|
| |
|
|
| |
Fixes #2002
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of raising a whole variety of exceptions, they are now wrapped
into ExtensionError derived classes.
* ExtensionAlreadyLoaded
* Raised when an extension is already loaded in Bot.load_extension
* ExtensionNotLoaded
* Raised when an extension is not loaded, e.g. Bot.unload_extension
* NoEntryPointError
* Raised when an extension does not have a `setup` function.
* ExtensionFailed
* Raised when an extension's `setup` function fails.
* ExtensionNotFound
* Raised when an extension's module import fails.
|
| |
|
|
| |
Also do atomic loading in Bot.load_extension
|
| |
|
|
|
| |
changes make the `ext.commands.ColourConverter` Converter fail when
user input is outside the acceptable value range 0x000000 - 0xFFFFFF
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added access to:
* `/users/@me/guilds`
* `/guilds/{guild_id}`
* `/guilds/{guild_id}/members/{member_id}`
BREAKING CHANGE:
* `get_user_info` -> `fetch_user_info` to match naming scheme.
Remove useless note
Remove `reverse` and corresponding documentation
Update documentation to reflect #1988
Rename `get_` HTTP functions to `fetch_`
Breaking Changes:
* `get_message` -> `fetch_message`
* `get_invite` -> `fetch_invite`
* `get_user_profile` -> `fetch_user_profile`
* `get_webhook_info` -> `fetch_webhook`
* `get_ban` -> `fetch_ban`
Fix InviteConverter, update migrating.rst
Rename get_message to fetch_message
|
| | |
|