feat(revcord): post message request handling

This commit is contained in:
Zomatree
2022-06-05 03:05:39 +01:00
parent b0313b8acb
commit 03656e99a3
6 changed files with 110 additions and 5 deletions

View File

@@ -16,9 +16,11 @@ pub trait QuarkConversion: Sized {
}
pub fn to_snowflake<T, S: ToString>(ulid: S) -> twilight_model::id::Id<T> {
todo!()
unsafe {
twilight_model::id::Id::new_unchecked(1)
}
}
pub fn to_ulid<T>(snowflake: twilight_model::id::Id<T>) -> String {
todo!()
String::from("1")
}