mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-05-08 02:10:05 -05:00
This should fix broken patron check on rsvp role command
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user