mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 06:33:03 -04:00
Merge branch 'dev'
This commit is contained in:
commit
6dbd412483
2 changed files with 4 additions and 9 deletions
|
@ -30,16 +30,11 @@ const settings = definePluginSettings({
|
||||||
|
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
name: "PolishWording",
|
name: "PolishWording",
|
||||||
description:
|
description: "Tweaks your messages to make them look nicer and have better grammar",
|
||||||
"Tweaks your messages to make them look nicer and have better grammar",
|
|
||||||
authors: [Devs.Samwich],
|
authors: [Devs.Samwich],
|
||||||
dependencies: ["MessageEventsAPI"],
|
dependencies: ["MessageEventsAPI"],
|
||||||
start() {
|
start: () => addMessagePreSendListener(presendObject),
|
||||||
addMessagePreSendListener(presendObject);
|
stop: () => removeMessagePreSendListener(presendObject),
|
||||||
},
|
|
||||||
stop() {
|
|
||||||
removeMessagePreSendListener(presendObject);
|
|
||||||
},
|
|
||||||
settings,
|
settings,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: '"Message Username"',
|
find: '"Message Username"',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /#{intl::GUILD_COMMUNICATION_DISABLED_BOTTOM_SHEET_TITLE}.+?}\),\i(?=\])/,
|
match: /#{intl::GUILD_COMMUNICATION_DISABLED_BOTTOM_SHEET_TITLE}.+?}\)\)(?=\])/,
|
||||||
replace: "$&,Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0])"
|
replace: "$&,Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0])"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue