mirror of
https://github.com/Equicord/Equicord.git
synced 2025-05-11 18:05:37 +02:00
Fix Formatting
This commit is contained in:
parent
b140cc0d39
commit
e6ab96a3ee
1 changed files with 10 additions and 8 deletions
|
@ -41,10 +41,12 @@ export default definePlugin({
|
|||
// Make discord actually use our tags
|
||||
{
|
||||
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})\.BOT:(?=default:)/,
|
||||
replace: "$&return null;",
|
||||
predicate: () => settings.store.dontShowBotTag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue