| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
| |
The converter was now only used to restrict requested names which
can be handled by not matching a tag in the cog and not displaying output,
this allows us to be a bit more generous with tag names during the command
fallback when a name with invalid symbols is parsed after a group
|
|
|
|
|
| |
Unnecessary invoked with mocks were removed and some more checks added for
the new behaviour
|
|\
| |
| |
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
# Conflicts:
# poetry.lock
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|/
|
|
|
|
|
|
| |
Switches the test runner from unittest to pytest, to allow the usage of
plugins such as xdist. This commit also adds pytest-cov purely as a
generator for .coverage files.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
| |
Updates the Dockerfile, pre-commit, CI, and documentation to reflect the
new dependency manager. Dockerfile is also updated to 3.9.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
|
| |
|
|
|
|
|
| |
BadUnionArgument sends command help after:
https://github.com/python-discord/bot/pull/1434
|
|
|
|
|
| |
This was removed in the branding manager rewrite:
https://github.com/python-discord/bot/pull/1463/
|
|\ |
|
| |\ |
|
| | |
| | |
| | | |
The `tests/README.md` file still referenced our old custom `AsyncMock` that has been removed in favour of the standard library one that has been introduced in 3.8. This commit fixes this by updating the section.
|
| | |
| | |
| | |
| | | |
Co_authored-by: Numerlor <[email protected]>
|
| |/ |
|
| |\ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Accounts for no redirects on extensions that are not `.py`.
|
| |\| |
|
| | |\ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
The DM sent to infracted users now instructs them to DM modmail if they want to discuss non-ban infractions, so the tests now check if that instruction is present. Note that there already exists a superfluous test for note infractions, for which no DM is sent by design.
|
| | |/
| | |
| | |
| | | |
Previously, the user was instructed to email the appeals email for infraction types that don't remove one from the server. They are now instructed to DM ModMail except for Ban-type infractions. Also removed the URL string literal from the hyperlink to that URL.
|
| | | |
|
| | |
| | |
| | |
| | | |
Tests for this were added additionally
|
| | |
| | |
| | |
| | |
| | | |
The tests were not adjusted after the converter was corrected to accept
digits
|
| | | |
|
| |\ \ |
|
| |\ \ \ |
|
| |\ \ \ \ |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
# Conflicts:
# LICENSE-THIRD-PARTY
# bot/exts/info/doc.py
|
| |\ \ \ \ \ \ |
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
# Conflicts:
# bot/cogs/doc/cog.py
# bot/converters.py
# tests/bot/test_converters.py
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
We don't have a verification channel anymore, so this have no point
and this just give errors.
|
|\ \ \ \ \ \ \ \ \
| | |_|_|_|_|_|_|/
| |/| | | | | | | |
|
| |\ \ \ \ \ \ \ \
| | |_|_|_|_|_|_|/
| |/| | | | | | | |
Adds Member Checks Before Changing Voice
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Updates the voice ban action so the infraction pardoning is always run,
and so all operations are handled in the _scheduler. Updates tests.
|
| | |\ \ \ \ \ \ \ |
|
| | | | | | | | | | |
|
| | | |_|_|_|_|/ /
| | |/| | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Adds a check that checks if the user object is an instance of guild
member, before performing guild operations. Adds tests.
Signed-off-by: Hassan Abouelela <[email protected]>
|