This should fix broken patron check on rsvp role command

This commit is contained in:
NovaFox161
2022-03-01 12:49:09 -06:00
parent 3ac0dd6e4e
commit 8b0f9ebf83
@@ -302,7 +302,7 @@ class RsvpCommand : SlashCommand {
).flatMap(ApplicationCommandInteractionOptionValue::asRole)
return Mono.zip(event.interaction.guild, roleMono).flatMap(function { guild, role ->
if (!settings.patronGuild || !settings.devGuild) {
if (!settings.patronGuild) {
return@function event.followupEphemeral(getCommonMsg("error.patronOnly", settings))
}