aboutsummaryrefslogtreecommitdiff
path: root/src/prelude.rs
blob: c5d8e20573a5dfbe0ad56bb9ae83aa70d83b8134 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//! A set of exports which can be helpful to use.
//!
//! Note that the `SerenityError` re-export is equivilant to
//! [`serenity::Error`], although is re-exported as a separate name to remove
//! likely ambiguity with other crate error enums.
//!
//! # Examples
//!
//! Import all of the exports:
//!
//! ```rust
//! use discord::prelude::*;
//! ```
//!
//! [`serenity::Error`]: ../enum.Error.html

pub use ::client::{Client, ClientError};
pub use ::error::{Error as SerenityError};
pub use ::model::Mentionable;