Skip to content

Commit

Permalink
fix a few bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
dkim19375 committed May 13, 2021
1 parent b7dda90 commit 7f493b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/me/dkim19375/dkim19375jdautils/BotBase.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ abstract class BotBase(
) {
@API
lateinit var jda: JDA
val commandTypes = setOf<CommandType>()
val commandTypes = mutableSetOf<CommandType>()

@API
val commands = setOf<Command>()
val commands = mutableSetOf<Command>()

@API
val consoleCommands = mapOf<String, (String) -> Unit>()
val consoleCommands = mutableMapOf<String, (String) -> Unit>()
private var started = false

fun getPrefix(guild: Long): String = getPrefix(guild.toString())
Expand Down

0 comments on commit 7f493b4

Please sign in to comment.