Added signed up options for role reminder
Added option to opt out of reminders
This commit is contained in:
parent
64ce169094
commit
c88bf5b133
18 changed files with 911 additions and 99 deletions
|
@ -54,6 +54,16 @@ namespace DiscordBot.CommandHandlers
|
|||
await _httpService.SignOff(signOff);
|
||||
await component.RespondAsync("Signed Off", ephemeral: true);
|
||||
break;
|
||||
case Constants.ComponentIds.OPT_OUT_BUTTON:
|
||||
if(await _httpService.ReminderOptOut(component.User.Id))
|
||||
{
|
||||
await component.RespondAsync("You opted out of the raid reminders.");
|
||||
}
|
||||
else
|
||||
{
|
||||
await component.RespondAsync("Opting out failed, please try again later or change the setting on the website.");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue