We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9a7eab commit 8ac24bcCopy full SHA for 8ac24bc
server/src/modules/discord/bot.rs
@@ -64,7 +64,7 @@ impl EventHandler for Handler {
64
return;
65
}
66
67
- if !Settings::get().map_or(false, |s| s.discord_rsvp_reactions_enabled) {
+ if !Settings::get().is_ok_and(|s| s.discord_rsvp_reactions_enabled) {
68
69
70
@@ -101,7 +101,7 @@ impl EventHandler for Handler {
101
102
103
104
105
106
107
0 commit comments