diff --git a/src/main/kotlin/net/moonleay/lilJudd/features/PlanningNotifier.kt b/src/main/kotlin/net/moonleay/lilJudd/features/component/Feature.kt
similarity index 58%
rename from src/main/kotlin/net/moonleay/lilJudd/features/PlanningNotifier.kt
rename to src/main/kotlin/net/moonleay/lilJudd/features/component/Feature.kt
index fd9329c..da04430 100644
--- a/src/main/kotlin/net/moonleay/lilJudd/features/PlanningNotifier.kt
+++ b/src/main/kotlin/net/moonleay/lilJudd/features/component/Feature.kt
@@ -16,21 +16,15 @@
* along with this program. If not, see .
*/
-package net.moonleay.lilJudd.features
+package net.moonleay.lilJudd.features.component
-import dev.inmo.krontab.buildSchedule
-import dev.inmo.krontab.doInfinity
-import net.moonleay.lilJudd.util.Logger
+import dev.kord.core.entity.Message
-object PlanningNotifier {
- suspend fun registerThread() {
- Logger.out("Adding ping scheduler...")
- val scheduler = buildSchedule("0 0 4 * * * 0o 1w") // 0 0 4 * * * 0o 1w // 0o is UTC
- scheduler.doInfinity {
- Logger.out("Starting to update roles...")
+interface Feature {
+ val feature: FeatureEnum
- Logger.out("Done! Until tomorrow! <3 ")
- }
+ fun enable(): Message
+ fun disable(): Message
- }
+ suspend fun registerThread()
}
diff --git a/src/main/kotlin/net/moonleay/lilJudd/features/component/FeatureManager.kt b/src/main/kotlin/net/moonleay/lilJudd/features/component/FeatureManager.kt
new file mode 100644
index 0000000..76af6f1
--- /dev/null
+++ b/src/main/kotlin/net/moonleay/lilJudd/features/component/FeatureManager.kt
@@ -0,0 +1,24 @@
+/*
+ * lilJudd
+ * Copyright (C) 2023 moonleay
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+package net.moonleay.lilJudd.features.component
+
+object FeatureManager {
+ // See note in Feature.kt
+ val features = mutableListOf()
+}