mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-31 03:33:36 -05:00
#52 in the new Anammox File TY!
This commit is contained in:
parent
deceb2ba97
commit
b80d12a5cc
1 changed files with 4 additions and 3 deletions
|
@ -89,11 +89,12 @@ export default definePlugin({
|
|||
},
|
||||
{
|
||||
// Gift button
|
||||
find: ".gifts)||void 0===",
|
||||
find: "GIFT_BUTTON)",
|
||||
replacement: {
|
||||
match: /let\{disabled:\i,channel:\i\}=\i/,
|
||||
replace: "return null;$&",
|
||||
match: /if\(\i\)return null;/,
|
||||
replace: "return null;",
|
||||
},
|
||||
all: true,
|
||||
predicate: () => settings.store.gift,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue