| Commit message (Collapse) | Author | Age | Lines |
|\
| |
| | |
Test that infraction reason sent to database is not truncated
|
| | |
|
|/ |
|
|\ |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
Avoid Discord's character limit for messages.
Fix #2464
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make help showable through button on command error message.
* Improve error message
Improve error message for attempting to delete other users' command invocations
Co-authored-by: Boris Muratov <[email protected]>
* Use double quotes instead of single
* Refactor to use `ViewWithUserAndRoleCheck`
---------
Co-authored-by: Boris Muratov <[email protected]>
|
|
|
| |
The old test relied on the old system where we loaded config from a yaml file, which ended up doing nothing.
|
| |
|
|
|
|
| |
These have been ported to bot-core
|
|\ |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Bump ruff from 0.0.285 to 0.0.287
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.285 to 0.0.287.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.285...v0.0.287)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
* Update bot to comply with ruff 0.0.287 linting rules
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Banks <[email protected]>
|
|
|
|
| |
ruff's isort rule doesn't allow multiple imports on the same line if wrapping. This is arguably easier to read too.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.282 to 0.0.283.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.282...v0.0.283)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
|
| |
|
|
|
|
| |
service is made
|
| |
|
|
|
|
|
|
|
| |
* Fix test warnings
* Remove unnecessary event_loop parameters
This is not necessary as the current event loop will be used which is the same as self.bot.loop. Removing these should slightly improve test speed as the mock for self.bot.loop doesn't need to be created.
|
| |
|
|
|
|
| |
The new d.py Member.get_role uses the Guild.get_role function if the member has the role. SInce we don't set Guild.roles overwrite this instead.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Co-authored-by: Boris Muratov <[email protected]>
Co-authored-by: wookie184 <[email protected]>
|
| |
|
|\ |
|
| |
| |
| |
| | |
This is to make sure that the unique constraint always compares between dicts instead of sometimes dealing with nulls.
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | | |
mock._importer was removed in 3.11
|
| | |
| | |
| | |
| | | |
Adds the `CustomIOField` class which can be used as a base for wrappers that store a value with a customized way to process the user input and to present the value in the UI.
|
| | | |
|
| | | |
|
| | | |
|
| |\| |
|
| |\ \ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This is mostly a copy-paste of the implementations in the old system into the new system's structure.
The mentions rule required changing the `triggers_on` method to async.
|
| |\ \ \ |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is a purely aesthetic choice.
Additionally fixes a small bug where a missing entry type would repeatedly invoke a warning on cog load.
|
| |\ \ \ \ |
|