Skip to content

Commit

Permalink
Fix minor bugs from refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaFox161 committed Feb 20, 2024
1 parent cc5afb7 commit 46b8d68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class RsvpCommand(


return event.followupEphemeral(
getMessage("limit.success", settings),
getMessage("limit.success", settings, limit.toString()),
embedService.rsvpListEmbed(calendarEvent, rsvp, settings)
).awaitSingle()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class RsvpService(
discordClient.getGuildById(new.guildId)
.removeMemberRole(userId, old.role, "Removed RSVP to event with ID ${new.eventId}")
.doOnError {
LOGGER.debug(
LOGGER.error(
"Failed to remove role:${old.role?.asString()} from user:${userId.asString()}",
it
)
Expand All @@ -160,7 +160,7 @@ class RsvpService(
discordClient.getGuildById(new.guildId)
.addMemberRole(userId, new.role, "RSVP'd to event with ID: ${new.eventId}")
.doOnError {
LOGGER.debug(
LOGGER.error(
"Failed to add role:${old.role?.asString()} to user:${userId.asString()}",
it
)
Expand Down

0 comments on commit 46b8d68

Please sign in to comment.