| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
| |
Co-authored-by: wookie184 <[email protected]>
Co-authored-by: Amrou Bellalouna <[email protected]>
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
| |
solves issue with adding decorator to the parent
which wouldn't apply to the children
|
|
|
|
|
|
|
|
|
| |
Adds a toggle to the whitelist override, to allow explicit enabling of
a command in DMs, and sets the default to False.
Removes redundant `guild_only` decorators.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Previously this would output all channels, and could result in an error.
This change ensures only the main bot channel & and any overridden channels
are shown in the embed. We do this before the categories block as
the categories kwarg itself is an override, so we want to include
those in any output.
|
|
|
|
|
|
|
| |
Adds the channels within categories to the failure message of the
command whitelist check.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
| |
Upgrades in channel check to support categories, and in the case of
overrides, roles too.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
|
|
|
|
| |
This fixes a new lint error (F541) introduced by flake8 3.8.
|
|
|
|
|
|
|
|
| |
This way, we can standardize the way Months are shown to both the user
and the developer. Note that if passing a Month member to an f-string,
the `!s` format code must be specified to ensure our __str__ is used.
Co-authored-by: MarkKoz <[email protected]>
|
|
|
|
|
| |
The function is useful to other modules as well - not only decorators.
This declares it as public and moves it to a more accessible place.
|
|
|
|
| |
See docstring for details.
|
|
|