Skip to content

Commit

Permalink
Fixed space causing Neptune to error
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen committed Oct 31, 2023
1 parent f1ad8a7 commit 79db273
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/main/kotlin/com/learnspigot/bot/docs/DocCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ class DocCommand {
// @Inject
// private lateinit var docRegistry: DocRegistry

// @Command(
// name = "doc",
// description = "Retrieve an element from the Spigot Javadocs. Eg 'Player', 'Player#setHealth', 'setHealth'",
// permissions = [Permission.MESSAGE_SEND]
// )
// fun onDocCommand(
// event: SlashCommandInteractionEvent,
// @Description("The element you want to search") query: String
Expand Down
1 change: 0 additions & 1 deletion src/main/kotlin/com/learnspigot/bot/help/PasteCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class PasteCommand {
name = "pastebin",
description = "Share the link to the custom pastebin"
)

fun onPasteCommand(event: SlashCommandInteractionEvent) {
if (event.channelType != ChannelType.GUILD_PUBLIC_THREAD) {
event.reply("This can only be used in a help thread!").setEphemeral(true).queue()
Expand Down

0 comments on commit 79db273

Please sign in to comment.