Restrict reminder selection to one-per-guild during fetch loop

This commit is contained in:
claude Bot committed 2022-07-28 19:20:15 +01:00
1 parent 03f08f0a18
commit 2781f2923e
8 files changed
+23 -14

No files matched your search

+2 -1
View File
@@ -5,6 +5,7 @@ use poise::{
model::id::{GuildId, UserId},
},
serenity_prelude as serenity,
serenity_prelude::interaction::MessageFlags,
};
use crate::{
@@ -102,6 +103,6 @@ pub fn send_as_initial_response(
});
}
if ephemeral {
f.flags(serenity::InteractionApplicationCommandCallbackDataFlags::EPHEMERAL);
f.flags(MessageFlags::EPHEMERAL);
}
}