getPrefixes

Returns the prefixes this bot responds to in the specified guild, or an empty list if the bot shouldn't respond to anything.

The prefixes returned will be the only ones checked for when receiving a text command, if you want it to reply to configured prefixes and/or ping-as-prefix, you'll need to pass back those (BTextConfig.prefixes + JDA.getSelfUser().asMention).

Returning an empty list means the bot will not respond to commands in that guild.

Parameters

channel

The channel in which the command is executed