-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rtk-rnjn
committed
Jul 25, 2023
1 parent
4600ab7
commit e05fc5b
Showing
106 changed files
with
890 additions
and
956 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
from __future__ import annotations | ||
|
||
from typing import Optional | ||
|
||
from discord.ext import commands | ||
from utilities.converters import convert_bool | ||
|
||
|
||
class AutoWarn(commands.FlagConverter, case_insensitive=True, delimiter=" ", prefix="--"): | ||
enable: Optional[convert_bool] = True | ||
count: Optional[int] = None | ||
punish: Optional[str] = None | ||
duration: Optional[str] = None | ||
delete: Optional[convert_bool] = True | ||
enable: convert_bool | None = True | ||
count: int | None = None | ||
punish: str | None = None | ||
duration: str | None = None | ||
delete: convert_bool | None = True | ||
|
||
|
||
class WarnConfig(commands.FlagConverter, case_insensitive=True, delimiter=" ", prefix="--"): | ||
count: Optional[int] = None | ||
action: Optional[str] = None | ||
duration: Optional[str] = None | ||
count: int | None = None | ||
action: str | None = None | ||
duration: str | None = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.