= 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
+3 -3
View File
@@ -25,16 +25,16 @@ public class CommandGuildRoleAdd extends Command
{
if(guild.control.addRole(user.discordID, role))
{
res.call(String.format(LocStrings.stub("GuildRoleAddSuccess"), role, user.name));
res.send(String.format(LocStrings.stub("GuildRoleAddSuccess"), role, user.name));
}
else
{
res.call(String.format(LocStrings.stub("GuildRoleAddFailure"), role, user.name));
res.send(String.format(LocStrings.stub("GuildRoleAddFailure"), role, user.name));
}
}
else
{
res.call(String.format(LocStrings.stub("GuildRoleAddNotAllowed"), role));
res.send(String.format(LocStrings.stub("GuildRoleAddNotAllowed"), role));
}
}
}