Make permissions bold instead of code-wrapped
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2022-12-20 17:58:14 +01:00
parent 1384259187
commit 4f408fb5f9

View File

@ -132,7 +132,7 @@ public class HelpCommand implements MessageCommand
for(int i = 0; i < permissions.size(); i++) for(int i = 0; i < permissions.size(); i++)
{ {
Permission permission = permissions.get(i); Permission permission = permissions.get(i);
permissionsStringBuilder.append("`").append(permission.getName()).append("`"); permissionsStringBuilder.append("**").append(permission.getName()).append("**");
if(i + 1 != permissions.size()) if(i + 1 != permissions.size())
permissionsStringBuilder.append(", "); // separate with comma expect on last iteration permissionsStringBuilder.append(", "); // separate with comma expect on last iteration