aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-18 21:16:18 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-18 21:16:18 -0400
commit04dc104726fa1519480ba1889c1307ec3ad9be19 (patch)
treeca63ea2e06e90d1c9b218bc1254ff8802ecbd100 /src/commands/moderation
parent91ee22fbb53f191167cac23437f9be17c1535795 (diff)
downloadtanzanite-04dc104726fa1519480ba1889c1307ec3ad9be19.tar.gz
tanzanite-04dc104726fa1519480ba1889c1307ec3ad9be19.tar.bz2
tanzanite-04dc104726fa1519480ba1889c1307ec3ad9be19.zip
fix some shit
Diffstat (limited to 'src/commands/moderation')
-rw-r--r--src/commands/moderation/evidence.ts2
-rw-r--r--src/commands/moderation/role.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/moderation/evidence.ts b/src/commands/moderation/evidence.ts
index 71a52b2..250df24 100644
--- a/src/commands/moderation/evidence.ts
+++ b/src/commands/moderation/evidence.ts
@@ -32,7 +32,7 @@ export default class EvidenceCommand extends BushCommand {
});
}
- *args(message: BushMessage): IterableIterator<ArgumentOptions | Flag> {
+ override *args(message: BushMessage): IterableIterator<ArgumentOptions | Flag> {
const case_id = yield {
id: 'case_id',
type: 'string',
diff --git a/src/commands/moderation/role.ts b/src/commands/moderation/role.ts
index d0abb54..69432ab 100644
--- a/src/commands/moderation/role.ts
+++ b/src/commands/moderation/role.ts
@@ -55,7 +55,7 @@ export default class RoleCommand extends BushCommand {
});
}
- *args(message: BushMessage): IterableIterator<ArgumentOptions | Flag> {
+ override *args(message: BushMessage): IterableIterator<ArgumentOptions | Flag> {
const action = ['rr'].includes(message.util.parsed?.alias ?? '')
? 'remove'
: ['ar', 'ra'].includes(message.util.parsed?.alias ?? '')