From 1d7579746b95d885ecba0fd1669acc013f0c85f7 Mon Sep 17 00:00:00 2001 From: Russell Banks Date: Thu, 14 Apr 2022 19:18:48 +0100 Subject: [PATCH] Rename NotifyEphemeralExtension to better reflect use --- src/main/kotlin/Main.kt | 4 ++-- .../{NotifyEphemeralExtension.kt => NotifySlashExtension.kt} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/main/kotlin/extensions/notify/{NotifyEphemeralExtension.kt => NotifySlashExtension.kt} (98%) 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)