aboutsummaryrefslogtreecommitdiff
path: root/src/api/Commands.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-08 20:36:57 +0200
committerVendicated <vendicated@riseup.net>2022-10-08 20:36:57 +0200
commitdea34503ef61fe8f2600d2d9b0edb2eec90ebd1b (patch)
treebf4a0037dbecb8b9b00413c59f1af2b434d561e6 /src/api/Commands.ts
parent0109381a4f5a513a23258130bca06d40fcbc8ea9 (diff)
downloadVencord-dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b.tar.gz
Vencord-dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b.tar.bz2
Vencord-dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b.zip
Add more eslint rules
Diffstat (limited to 'src/api/Commands.ts')
-rw-r--r--src/api/Commands.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/Commands.ts b/src/api/Commands.ts
index 10503e9..907a65d 100644
--- a/src/api/Commands.ts
+++ b/src/api/Commands.ts
@@ -82,6 +82,8 @@ export function unregisterCommand(name: string) {
BUILT_IN.splice(idx, 1);
delete commands[name];
+
+ return true;
}
export interface CommandContext {