everyone who is allowed do use slash commands can now sign up users ignoring the raid requirements
This commit is contained in:
parent
9c6386e137
commit
de351e167c
2 changed files with 8 additions and 11 deletions
|
@ -76,7 +76,7 @@ namespace DiscordBot.CommandHandlers
|
|||
|
||||
public async Task SelectRole(SocketInteraction component, int raidId, string buttonType, bool allRoles, ulong userIdToSignUp, ulong signedUpByUserId)
|
||||
{
|
||||
if(await IsRaidSignUpAllowed(component, raidId, buttonType))
|
||||
if(signedUpByUserId != 0 || await IsRaidSignUpAllowed(component, raidId, buttonType))
|
||||
{
|
||||
List<ApiRole> roles = new List<ApiRole>();
|
||||
roles = await _httpService.GetRoles(raidId, userIdToSignUp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue