fix some leftovers

This commit is contained in:
camila314 2024-06-24 13:42:15 -05:00
parent 0b20a2e211
commit 0061b42777

View file

@ -120,7 +120,7 @@ const settings = definePluginSettings({
export default definePlugin({
name: "ContentWarning",
authors: [Devs.camila314],
description: "Allows you to specify certain trigger words",
description: "Allows you to specify certain trigger words that will be blurred by default. Clicking on the blurred content will reveal it.",
settings,
patches: [
{
@ -133,7 +133,6 @@ export default definePlugin({
],
beforeSave() {
console.log(triggerWords);
DataStore.set(WORDS_KEY, triggerWords);
return true;
},
@ -148,6 +147,5 @@ export default definePlugin({
async start() {
triggerWords = await DataStore.get(WORDS_KEY) ?? [""];
console.log(triggerWords);
}
});