aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/_api/commands.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/_api/commands.ts b/src/plugins/_api/commands.ts
index 2197b30..b7d6ef9 100644
--- a/src/plugins/_api/commands.ts
+++ b/src/plugins/_api/commands.ts
@@ -26,7 +26,7 @@ export default definePlugin({
patches: [
// obtain BUILT_IN_COMMANDS instance
{
- find: '"giphy","tenor"',
+ find: ',"tenor"',
replacement: [
{
// Matches BUILT_IN_COMMANDS. This is not exported so this is
@@ -34,7 +34,7 @@ export default definePlugin({
// patch simpler
// textCommands = builtInCommands.filter(...)
- match: /(?<=\w=)(\w)(\.filter\(.{0,30}giphy)/,
+ match: /(?<=\w=)(\w)(\.filter\(.{0,60}tenor)/,
replace: "Vencord.Api.Commands._init($1)$2",
}
],