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

This commit is contained in:
jude
2022-07-28 19:19:46 +01:00
parent 03f08f0a18
commit 2781f2923e
8 changed files with 23 additions and 14 deletions

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);
}
}