diff options
| author | 2019-01-28 23:29:52 +0000 | |
|---|---|---|
| committer | 2019-01-28 23:29:52 +0000 | |
| commit | d10a6d94c13724f5c9ed476da63f0839ebaf2ad9 (patch) | |
| tree | d738a3564857654eb9214a012265f1a8055060ea /src/utils | |
| parent | Use `target` (after prefixes lstrip) to get channel object (line_handler.py) (diff) | |
| signature | ||
Add a way to force success and force failure of a command permission check
(commands.py)
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/consts.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/consts.py b/src/utils/consts.py index 81e86626..f5272cab 100644 --- a/src/utils/consts.py +++ b/src/utils/consts.py @@ -67,3 +67,7 @@ ANSI_BOLD = "\033[1m" ANSI_BOLD_RESET = "\033[22m" ANSI_UNDERLINE = "\033[4m" ANSI_UNDERLINE_RESET = "\033[24m" + +PERMISSION_HARD_FAIL = 0 +PERMISSION_FORCE_SUCCESS = 1 +PERMISSION_ERROR = 2 |
