getPreferredPrefix

Returns the preferred prefix this bot is able to respond to, in the specified guild, or null if no prefix could be determined, in which case text commands are not usable.

As a reminder, TextPrefixSupplier.getPreferredPrefix takes over the prefixes set in BTextConfig.