Skip to content

Commit

Permalink
hehe
Browse files Browse the repository at this point in the history
  • Loading branch information
duncte123 committed Apr 1, 2024
1 parent 2995c64 commit d5ead22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/kotlin/me/duncte123/io/commands/JjCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ class JjCommand : ICommand {
return
}

if (channel.idLong == event.channelIdLong) {
event.reply("Be sneaky and use a channel the rest can't see ;)").setEphemeral(true).queue()
return
}

val msgChan = channel.asGuildMessageChannel()

if (!msgChan.canTalk()) {
Expand Down

0 comments on commit d5ead22

Please sign in to comment.