= 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
@@ -27,12 +27,12 @@ public class CommandGuildRoleAllowed extends Command
role = roles[i].trim();
if(guild.roleList.contains(role))
{
res.call(LocStrings.stub("GuildRoleAllowedDuplicate"));
res.send(LocStrings.stub("GuildRoleAllowedDuplicate"));
}
else
{
guild.roleList.add(role);
res.call(String.format(LocStrings.stub("GuildRoleAllowedSuccess"), role));
res.send(String.format(LocStrings.stub("GuildRoleAllowedSuccess"), role));
}
}
}