diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt index 44812a5..02eed66 100644 --- a/src/main/kotlin/Main.kt +++ b/src/main/kotlin/Main.kt @@ -31,7 +31,7 @@ import extensions.joinleaveupdate.DeleteChannelExtension import extensions.joinleaveupdate.LeaveGuildExtension import extensions.joinleaveupdate.NewGuildExtension import extensions.notify.NotifyChatExtension -import extensions.notify.NotifyEphemeralExtension +import extensions.notify.NotifySlashExtension import extensions.voicestateupdate.VoiceStateExtension @OptIn(PrivilegedIntent::class) @@ -67,7 +67,7 @@ suspend fun main() { } extensions { - add(::NotifyEphemeralExtension) + add(::NotifySlashExtension) add(::NotifyChatExtension) add(::ConfigureHybridExtension) add(::VoiceStateExtension) diff --git a/src/main/kotlin/extensions/notify/NotifyEphemeralExtension.kt b/src/main/kotlin/extensions/notify/NotifySlashExtension.kt similarity index 98% rename from src/main/kotlin/extensions/notify/NotifyEphemeralExtension.kt rename to src/main/kotlin/extensions/notify/NotifySlashExtension.kt index 59cf2ef..b607f8c 100644 --- a/src/main/kotlin/extensions/notify/NotifyEphemeralExtension.kt +++ b/src/main/kotlin/extensions/notify/NotifySlashExtension.kt @@ -34,7 +34,7 @@ import com.kotlindiscord.kord.extensions.modules.unsafe.types.respondEphemeral import com.kotlindiscord.kord.extensions.modules.unsafe.types.respondPublic import dev.kord.common.entity.Permission -class NotifyEphemeralExtension: Extension() { +class NotifySlashExtension: Extension() { override val name = "notify-ephemeral" @OptIn(UnsafeAPI::class)