mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-14 09:03:03 -04: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
|
// Gift button
|
||||||
find: ".gifts)||void 0===",
|
find: "GIFT_BUTTON)",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /let\{disabled:\i,channel:\i\}=\i/,
|
match: /if\(\i\)return null;/,
|
||||||
replace: "return null;$&",
|
replace: "return null;",
|
||||||
},
|
},
|
||||||
|
all: true,
|
||||||
predicate: () => settings.store.gift,
|
predicate: () => settings.store.gift,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue