1 2 3 4 5 6 7 8 9 10 11 12
//! Prefix command permissions calculation #[cfg(feature = "cache")] mod cache; #[cfg(not(feature = "cache"))] mod http; #[cfg(feature = "cache")] pub(super) use cache::get_author_and_bot_permissions; #[cfg(not(feature = "cache"))] pub(super) use http::get_author_and_bot_permissions;