mirror of
https://github.com/InsanusMokrassar/PlaguBotCommandsPlugin.git
synced 2025-10-20 06:40:02 +00:00
fix in CommandsPlugin double commands getting
This commit is contained in:
@@ -72,7 +72,7 @@ object CommandsPlugin : Plugin {
|
||||
commandsKeeper.getKeys().forEach {
|
||||
val commands = commandsKeeper.getCommands(it)
|
||||
log.d { "Start setup initially passed commands for key $it: ${commands ?.joinToString { it.command }}" }
|
||||
setScopeCommands(it, commandsKeeper.getCommands(it))
|
||||
setScopeCommands(it, commands)
|
||||
}
|
||||
log.d { "Complete setup initially passed commands" }
|
||||
}
|
||||
|
Reference in New Issue
Block a user