mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-14 00:53:04 -04:00
Fix Formatting
This commit is contained in:
parent
b140cc0d39
commit
e6ab96a3ee
1 changed files with 10 additions and 8 deletions
|
@ -41,14 +41,16 @@ export default definePlugin({
|
||||||
// Make discord actually use our tags
|
// Make discord actually use our tags
|
||||||
{
|
{
|
||||||
find: ".STAFF_ONLY_DM:",
|
find: ".STAFF_ONLY_DM:",
|
||||||
replacement: [{
|
replacement: [
|
||||||
match: /(?<=type:(\i).{10,1000}.REMIX.{10,100})default:(\i)=/,
|
{
|
||||||
replace: "default:$2=$self.getTagText($self.localTags[$1]);",
|
match: /(?<=type:(\i).{10,1000}.REMIX.{10,100})default:(\i)=/,
|
||||||
}, {
|
replace: "default:$2=$self.getTagText($self.localTags[$1]);",
|
||||||
match: /(?<=type:(\i).{10,1000}.REMIX.{10,100})\.BOT:(?=default:)/,
|
},
|
||||||
replace: "$&return null;",
|
{
|
||||||
predicate: () => settings.store.dontShowBotTag
|
match: /(?<=type:(\i).{10,1000}.REMIX.{10,100})\.BOT:(?=default:)/,
|
||||||
},
|
replace: "$&return null;",
|
||||||
|
predicate: () => settings.store.dontShowBotTag
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue