Interface PrefixProvider
- All Known Implementing Classes:
GuildPrefix
,StaticPrefix
public interface PrefixProvider
Object that provides the prefix to consider for commands during event handling.
- Since:
- 1.0
- Version:
- 1.0
-
Method Summary
-
Method Details
-
getPrefix
Determines the prefix that should be used for the given guild.- Parameters:
guildId
- The ID of the guild that the event was issued from, ornull
if it was issued from a private channel.- Returns:
- The prefix to use.
-