mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 09:56:24 +00:00
fix some leftovers
This commit is contained in:
parent
0b20a2e211
commit
0061b42777
1 changed files with 1 additions and 3 deletions
|
@ -120,7 +120,7 @@ const settings = definePluginSettings({
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
name: "ContentWarning",
|
name: "ContentWarning",
|
||||||
authors: [Devs.camila314],
|
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,
|
settings,
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
|
@ -133,7 +133,6 @@ export default definePlugin({
|
||||||
],
|
],
|
||||||
|
|
||||||
beforeSave() {
|
beforeSave() {
|
||||||
console.log(triggerWords);
|
|
||||||
DataStore.set(WORDS_KEY, triggerWords);
|
DataStore.set(WORDS_KEY, triggerWords);
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
@ -148,6 +147,5 @@ export default definePlugin({
|
||||||
|
|
||||||
async start() {
|
async start() {
|
||||||
triggerWords = await DataStore.get(WORDS_KEY) ?? [""];
|
triggerWords = await DataStore.get(WORDS_KEY) ?? [""];
|
||||||
console.log(triggerWords);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue