diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-30 16:55:37 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-30 16:55:37 -0500 |
commit | 83db032fb91996c926a5d007a9e5fa4abed65871 (patch) | |
tree | 28081718636b6c41aea89018504f3f7e4f837903 /src/lib/common/util/Moderation.ts | |
parent | f0a9f894575871d498447c5de2b5f0f826b117b7 (diff) | |
download | tanzanite-83db032fb91996c926a5d007a9e5fa4abed65871.tar.gz tanzanite-83db032fb91996c926a5d007a9e5fa4abed65871.tar.bz2 tanzanite-83db032fb91996c926a5d007a9e5fa4abed65871.zip |
add timeout command and fix some other moderation commands
Diffstat (limited to 'src/lib/common/util/Moderation.ts')
-rw-r--r-- | src/lib/common/util/Moderation.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/common/util/Moderation.ts b/src/lib/common/util/Moderation.ts index c06ad25..a09930b 100644 --- a/src/lib/common/util/Moderation.ts +++ b/src/lib/common/util/Moderation.ts @@ -36,7 +36,9 @@ export class Moderation { | 'add a punishment role to' | 'remove a punishment role from' | 'block' - | 'unblock', + | 'unblock' + | 'timeout' + | 'untimeout', checkModerator = true, force = false ): Promise<true | string> { |