diff --git a/common/src/main/kotlin/fr/username404/snowygui/gui/feature/DiscordRPC.kt b/common/src/main/kotlin/fr/username404/snowygui/gui/feature/DiscordRPC.kt index 2ef6d1a..1ee7c7a 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/gui/feature/DiscordRPC.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/gui/feature/DiscordRPC.kt @@ -1,13 +1,12 @@ package fr.username404.snowygui.gui.feature import fr.username404.snowygui.Snowy -import fr.username404.snowygui.gui.feature.ButtonInfo.Companion.Type import net.arikia.dev.drpc.DiscordEventHandlers import net.arikia.dev.drpc.DiscordRichPresence import net.minecraft.client.Minecraft import net.arikia.dev.drpc.DiscordRPC as discord_rpc -@ButtonInfo(Category.MISC, kind = Type.TOGGLE) +@ButtonInfo(Category.MISC) object DiscordRPC: ButtonImpl() { private val RPCHandlers: DiscordEventHandlers = DiscordEventHandlers.Builder().build() private val RichPresence: DiscordRichPresence.Builder = DiscordRichPresence