pingex
/
DiscordBot
Archived
1
0
Fork 0

"list" command now displays correct prefix if not "/".

master
Pingex aka Raphaël 9 years ago
parent 7b08edc341
commit 8989d54435

@ -88,7 +88,7 @@ class InternalCommandsModule extends AbstractModule
StringBuffer toReturn = new StringBuffer("List of commands "); StringBuffer toReturn = new StringBuffer("List of commands ");
toReturn.append("(page ").append(page).append("/").append(pagesCount).append(") "); toReturn.append("(page ").append(page).append("/").append(pagesCount).append(") ");
toReturn.append("- Call `/help command` for individual help and usage.\n"); toReturn.append("- Call `" + Configuration.getValue("general", "commandPrefix") + "help command` for individual help and usage.\n");
int pos = 1; int pos = 1;
for(Map.Entry<String, InvokableMethod> i : commands.entrySet()) for(Map.Entry<String, InvokableMethod> i : commands.entrySet())