diff options
| author | Austin Hellyer <[email protected]> | 2016-11-07 11:43:15 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-07 11:43:15 -0800 |
| commit | a114a55efb5b08f9e5f289203db2dfd4db82852a (patch) | |
| tree | 8522e8eb3e77534ecf5c8e0208746b587eae887b /src/model/mod.rs | |
| parent | Add Attachment::download{,to_directory} (diff) | |
| download | serenity-a114a55efb5b08f9e5f289203db2dfd4db82852a.tar.xz serenity-a114a55efb5b08f9e5f289203db2dfd4db82852a.zip | |
Add webhook support
Diffstat (limited to 'src/model/mod.rs')
| -rw-r--r-- | src/model/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/model/mod.rs b/src/model/mod.rs index 1e94d99..81750a0 100644 --- a/src/model/mod.rs +++ b/src/model/mod.rs @@ -11,6 +11,7 @@ mod invite; mod misc; mod user; mod voice; +mod webhook; pub use self::channel::*; pub use self::gateway::*; @@ -21,6 +22,7 @@ pub use self::misc::*; pub use self::permissions::Permissions; pub use self::user::*; pub use self::voice::*; +pub use self::webhook::*; use self::utils::*; use std::collections::HashMap; @@ -87,6 +89,8 @@ id! { RoleId; /// An identifier for a User UserId; + /// An identifier for a [`Webhook`](struct.Webhook.html). + WebhookId; } /// A container for any channel. |