diff options
author | Ashelyn Rose <git@ashen.earth> | 2024-11-10 12:52:02 -0700 |
---|---|---|
committer | Ashelyn Rose <git@ashen.earth> | 2024-11-10 12:52:02 -0700 |
commit | 66208d1d9fcd32a88dcd9ecba13e87723812028a (patch) | |
tree | a3a080fa136c50e7d160f79c1b83a58e5d3e418d /src/system/types.rs | |
parent | 058fb241e4373e083f1ab706904bd601abbf509a (diff) |
Implement nick command
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 9a410aa..2698f9d 100644 --- a/src/system/types.rs +++ b/src/system/types.rs @@ -1,12 +1,13 @@ pub use twilight_model::channel::Message as TwiMessage; use twilight_model::gateway::payload::incoming::MessageUpdate as PartialMessage; -use twilight_model::id::marker::{ChannelMarker, MessageMarker, UserMarker}; +use twilight_model::id::marker::{ChannelMarker, MessageMarker, UserMarker, GuildMarker}; 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 ServerId = Id<GuildMarker>; pub type UserId = Id<UserMarker>; pub type FullMessage = TwiMessage; |