Co-authored-by: Ven <vendicated@riseup.net>
This commit is contained in:
parent
e219aaa062
commit
abbd298b31
@ -91,8 +91,8 @@ function ChatBarIcon() {
|
||||
<svg
|
||||
aria-hidden
|
||||
role="img"
|
||||
width="24"
|
||||
height="24"
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox={"0 0 64 64"}
|
||||
style={{ scale: "1.1" }}
|
||||
>
|
||||
@ -131,8 +131,8 @@ export default definePlugin({
|
||||
{
|
||||
find: ".activeCommandOption",
|
||||
replacement: {
|
||||
match: /.=.\.activeCommand,.=.\.activeCommandOption,.{1,133}(.)=\[\];/,
|
||||
replace: "$&;$1.push($self.chatBarIcon());",
|
||||
match: /(.)\.push.{1,50}\(\i,\{.{1,30}\},"gift"\)\)/,
|
||||
replace: "$&;try{$1.push($self.chatBarIcon())}catch{}",
|
||||
}
|
||||
},
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user