diff options
| author | acdenisSK <[email protected]> | 2017-11-16 16:59:05 +0100 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-11-16 16:59:05 +0100 |
| commit | d930758c09cf3f7d56a50f941a6b526dee288e9b (patch) | |
| tree | dff088597c58860f999c4a3f7eb82cc5cb3dba1b /src/model | |
| parent | Document that application owners bypass checks (#218) (diff) | |
| download | serenity-d930758c09cf3f7d56a50f941a6b526dee288e9b.tar.xz serenity-d930758c09cf3f7d56a50f941a6b526dee288e9b.zip | |
Fix doc-tests
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/channel/message.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/model/channel/message.rs b/src/model/channel/message.rs index 8dcaccb..65df51a 100644 --- a/src/model/channel/message.rs +++ b/src/model/channel/message.rs @@ -80,7 +80,6 @@ impl Message { /// # /// # fn main() { /// # use serenity::prelude::*; - /// # use serenity::framework::standard::Args; /// # struct Handler; /// # /// # impl EventHandler for Handler {} @@ -91,7 +90,7 @@ impl Message { /// /// client.with_framework(StandardFramework::new() /// .configure(|c| c.prefix("~")) - /// .command("channelname", |c| c.exec(channel_name))); + /// .cmd("channelname", channel_name)); /// /// command!(channel_name(_ctx, msg) { /// let _ = match msg.channel() { |