prefix

open val prefix: String?(source)

Deprecated

Moved to TextCommandsContext

Replace with

textCommandsContext.getPreferredPrefix(jda)

Returns the preferred prefix for triggering this bot, or null if BTextConfig.usePingAsPrefix is disabled and no prefix was added in BTextConfig.prefixes.

Return

The preferred prefix