diff options
author | Ashelyn Rose <git@ashen.earth> | 2024-10-02 02:22:34 -0600 |
---|---|---|
committer | Ashelyn Rose <git@ashen.earth> | 2024-10-02 02:22:34 -0600 |
commit | 8b716d49ed019213d91a45f094684f26fac289bd (patch) | |
tree | 0cd03b7719fc535c310aab4d50f61287e797301f /src/system/types.rs | |
parent | a6a120ae8b8ed08b0801d76e80a5f7a0b8cde44b (diff) |
refactor gateway and client together into bot struct
Diffstat (limited to 'src/system/types.rs')
-rw-r--r-- | src/system/types.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/system/types.rs b/src/system/types.rs index 862ddd1..e8d14a6 100644 --- a/src/system/types.rs +++ b/src/system/types.rs @@ -1,10 +1,11 @@ use twilight_model::channel::Message; -use twilight_model::id::marker::{MessageMarker, UserMarker}; +use twilight_model::id::marker::{ChannelMarker, MessageMarker, UserMarker}; use twilight_model::id::Id; use twilight_model::util::Timestamp; pub type MemberId = usize; pub type MessageId = Id<MessageMarker>; +pub type ChannelId = Id<ChannelMarker>; pub type UserId = Id<UserMarker>; pub type Status = twilight_model::gateway::presence::Status; |