mod models; pub use twilight_model; pub use models::{channel, user}; use async_trait::async_trait; #[async_trait] pub trait QuarkConversion: Sized { type Type; async fn to_quark(self) -> Self::Type; async fn from_quark(data: Self::Type) -> Self; } pub fn to_snowflake(ulid: S) -> twilight_model::id::Id { unsafe { twilight_model::id::Id::new_unchecked(1) } } pub fn to_ulid(snowflake: twilight_model::id::Id) -> String { String::from("1") }