| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
| |
The channel creations are static and clutter the cog class. We want to add more commands to the cog, so we move the static functions away to a separate file first.
|
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Adds a portion to the testing README explaining how and when to run an
individual test file when working with tests. Additionally adds a table
of contents as the document has become quite long.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|