Remix Plugin

This commit is contained in:
thororen1234 2025-03-12 23:27:03 -04:00
parent dad1464d4f
commit 517164ea97
No known key found for this signature in database
25 changed files with 1103 additions and 242 deletions

View file

@ -129,6 +129,10 @@ function generatePluginList() {
content += `**Enabled UserPlugins (${enabledUserPlugins.length}):**\n${makeCodeblock(enabledUserPlugins.join(", "))}`;
}
if (enabledPlugins.length > 75) {
content = "We don't support users with more than 75 plugins enabled. Please disable some and try again.";
}
return content;
}

View file

@ -93,7 +93,7 @@ export default definePlugin({
},
shouldHide(messageId: string) {
return hiddenMessages?.has(messageId) || false;
return hiddenMessages.has(messageId) || false;
},