aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/framework/standard/buckets.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/standard/buckets.rs b/src/framework/standard/buckets.rs
index 37a2de0..22bcc23 100644
--- a/src/framework/standard/buckets.rs
+++ b/src/framework/standard/buckets.rs
@@ -10,7 +10,7 @@ use std::{
type Check = Fn(&mut Context, Option<GuildId>, ChannelId, UserId) -> bool + Send + Sync + 'static;
#[cfg(not(feature = "cache"))]
-type Check = Fn(&mut Context, ChannelId, UserId) -> bool + 'static;
+type Check = Fn(&mut Context, ChannelId, UserId) -> bool + Send + Sync + 'static;
pub(crate) struct Ratelimit {
pub delay: i64,