aboutsummaryrefslogtreecommitdiff
path: root/src/api/Commands
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-10-30 20:45:18 +0100
committerGitHub <noreply@github.com>2022-10-30 20:45:18 +0100
commit8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59 (patch)
tree8397630ff18f8fa8952396334b3e4c003786cd07 /src/api/Commands
parentb905743077f5ffdd09c8ff3464ac19f770ae875f (diff)
downloadVencord-8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59.tar.gz
Vencord-8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59.tar.bz2
Vencord-8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59.zip
Webpack Warnings & Errors (#178)
* dev: Useful strict Warnings & Errors * Always log error * Ignore pending patches with all or whose predicate = false * Error -> Warn
Diffstat (limited to 'src/api/Commands')
-rw-r--r--src/api/Commands/commandHelpers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/Commands/commandHelpers.ts b/src/api/Commands/commandHelpers.ts
index 90b89ed..8986248 100644
--- a/src/api/Commands/commandHelpers.ts
+++ b/src/api/Commands/commandHelpers.ts
@@ -24,7 +24,7 @@ import { filters, waitFor } from "../../webpack";
import { Argument } from "./types";
const createBotMessage = lazyWebpack(filters.byCode('username:"Clyde"'));
-const MessageSender = lazyWebpack(filters.byProps(["receiveMessage"]));
+const MessageSender = lazyWebpack(filters.byProps("receiveMessage"));
let SnowflakeUtils: any;
waitFor("fromTimestamp", m => SnowflakeUtils = m);