= Updated response method naming and formatting

This commit is contained in:
Matthew Cech
2019-06-19 21:17:08 -07:00
parent c7ad59b755
commit b0292666c0
63 changed files with 149 additions and 145 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ public class CommandGuildRoleList extends Command
String roles = "";
if(guild.roleList.isEmpty())
{
res.call(String.format(LocStrings.stub("GuildRoleListEmpty")));
res.send(String.format(LocStrings.stub("GuildRoleListEmpty")));
return;
}
for(int i = 0; i < guild.roleList.size(); i++)
@@ -26,6 +26,6 @@ public class CommandGuildRoleList extends Command
roles += " and ";
roles += guild.roleList.get(i);
}
res.call(String.format(LocStrings.stub("GuildRoleListOutput"), roles));
res.send(String.format(LocStrings.stub("GuildRoleListOutput"), roles));
}
}