Skip to content

Commit 3fdce09

Browse files
committed
make configuring the secondary mod role actually work and not overwrite your primary
1 parent 8cf5d95 commit 3fdce09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bot/Systems/Commands/Text/Modules/Settings/ModRoleCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public Task<ActionResult> SecondaryModRoleAsync(
3030
return Ok("Reset the secondary Moderator role.");
3131
}
3232

33-
Context.Modify(data => data.Settings.Moderation.ModRole = role.Id);
33+
Context.Modify(data => data.Settings.Moderation.SecondaryModRole = role.Id);
3434
return Ok($"Set {role.Mention} as the secondary Moderator role for this guild.");
3535
}
3636
}

0 commit comments

Comments
 (0)