This commit is contained in:
thororen1234 2024-10-05 17:33:13 -04:00
parent 23717467f3
commit c1a8934f6d
2 changed files with 3 additions and 3 deletions

View file

@ -32,9 +32,9 @@ export const MessageLoggerStore = createStore("MessageLoggerData", "MessageLogge
// this gets used by the logs modal. logs modal should only use saved messages not messages that are being processed // this gets used by the logs modal. logs modal should only use saved messages not messages that are being processed
// also hasMessageInLogs should only check saved messages not the ones that are being processed // also hasMessageInLogs should only check saved messages not the ones that are being processed
export let savedLoggedMessages: LoggedMessages = defaultLoggedMessages; export let savedLoggedMessages: LoggedMessages = { ...defaultLoggedMessages };
export let loggedMessages: LoggedMessages = defaultLoggedMessages; export let loggedMessages: LoggedMessages = { ...defaultLoggedMessages };
(async () => { (async () => {
try { try {

View file

@ -39,7 +39,7 @@ export default definePlugin({
replace: "Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.In).concat($&)" replace: "Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.In).concat($&)"
}, },
{ {
match: /guildDiscoveryRef.{0,300}\}\)\]\}\)\}\)/, match: /lastTargetNode.{0,300}\{\}\)\]\}\)\]/,
replace: "$&.concat(Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.Below))" replace: "$&.concat(Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.Below))"
} }
] ]