toggle menu
BotCommands
JVM
switch theme
search in API
BotCommands
/
io.github.freya022.botcommands.api.localization
/
DefaultMessages
/
getPermission
get
Permission
@
NotNull
open
fun
getPermission
(
permission
:
Permission
)
:
@
NotNull
String
(
source
)
Return
The localized permission, or
getName
if the translation is missing.