= Saving allowed roles per guild

This commit is contained in:
Matthew Cech
2019-05-06 00:21:17 -07:00
parent 380fdbc605
commit 5eddc4645e
9 changed files with 110 additions and 16 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ public class CommandGuildRoleAdd extends Command
public void OnRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
{
String role = input.args.split(" ")[0];
if(guild.allowedRole.contains(role))
if(guild.roleList.contains(role))
{
if(guild.control.addRole(user.discordID, role))
{