Skip to content

Commit

Permalink
Rename NotifyEphemeralExtension to better reflect use
Browse files Browse the repository at this point in the history
  • Loading branch information
russellbanks committed Apr 14, 2022
1 parent ae4a44b commit 1d75797
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -67,7 +67,7 @@ suspend fun main() {
}

extensions {
add(::NotifyEphemeralExtension)
add(::NotifySlashExtension)
add(::NotifyChatExtension)
add(::ConfigureHybridExtension)
add(::VoiceStateExtension)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1d75797

Please sign in to comment.