Skip to content

Commit

Permalink
Updated some descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Laxystem committed Dec 6, 2023
1 parent 9f2abd6 commit 17dcdf7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions src/main/kotlin/quest/laxla/supertrouper/MaintenanceExtension.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package quest.laxla.supertrouper

import com.kotlindiscord.kord.extensions.checks.isBotAdmin
import com.kotlindiscord.kord.extensions.commands.application.slash.publicSubCommand
import com.kotlindiscord.kord.extensions.extensions.publicSlashCommand
import com.kotlindiscord.kord.extensions.extensions.slashCommandCheck

Expand All @@ -11,13 +12,18 @@ class MaintenanceExtension : TrouperExtension() {
}

publicSlashCommand {
name = "stop"
description = "WARNING: Stops the bot completely."
name = "maintenance"
description = "Maintenance commands for maintainers of the bot"

action {
//language=Markdown
respond { content = "# Invoking Protocol: Emergency Stop" }
bot.stop()
publicSubCommand {
name = "stop"
description = "Stops the bot completely"

action {
//language=Markdown
respond { content = "# Invoking Protocol: Emergency Stop" }
bot.stop()
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class PrivateMassagingExtension : TrouperExtension() {

ephemeralSlashCommand(::TargetedArguments) slash@{
name = "sync"
description = "Syncs a private message channel's permissions with the category."
description = "Syncs a private message channel's permissions with the category"

requirePermission(Permission.ManageRoles)

Expand Down

0 comments on commit 17dcdf7

Please sign in to comment.