Skip to content

Commit d524de8

Browse files
authored
fix commands (#4437)
1 parent 9fc0050 commit d524de8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/plugins/_api/commands.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ export default definePlugin({
2626
patches: [
2727
// obtain BUILT_IN_COMMANDS instance
2828
{
29-
find: ',"tenor"',
29+
find: ',"tableflip","unflip"',
3030
replacement: [
3131
{
3232
// Matches BUILT_IN_COMMANDS. This is not exported so this is
3333
// the only way. _init() just returns the same object to make the
3434
// patch simpler
3535

3636
// textCommands = builtInCommands.filter(...)
37-
match: /(?<=\w=)(\w)(\.filter\(.{0,60}tenor)/,
37+
match: /(?<=\w=)(\w)(\.filter\(.{0,60}tableflip)/,
3838
replace: "Vencord.Api.Commands._init($1)$2",
3939
}
4040
],

0 commit comments

Comments
 (0)