add multiple prefixes and cspy prefixes
totallynotskidded™ some codes from ChipmunkBot™
This commit is contained in:
@@ -96,7 +96,7 @@ public class HelpCommand implements Command {
|
||||
public Component sendUsages (CommandContext context, String[] args) {
|
||||
final Bot bot = context.bot();
|
||||
|
||||
final String prefix = bot.chatCommandHandler().prefix();
|
||||
final String prefix = context.prefix();
|
||||
|
||||
for (Command command : bot.commandHandler().commands()) {
|
||||
if (!command.name().equals(args[0]) && !command.alias().contains(args[0])) continue;
|
||||
|
||||
Reference in New Issue
Block a user