aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-07-22 16:59:10 +0200
committeracdenisSK <[email protected]>2017-07-22 16:59:10 +0200
commit2b053ea007d6ca9cc820cb910597e8b5dad89d70 (patch)
treec0664957758043b80fc7e40d9acc7923da53d3c1 /src/model
parentRemove the uneccessary function and `Send + Sync` bounds (diff)
downloadserenity-2b053ea007d6ca9cc820cb910597e8b5dad89d70.tar.xz
serenity-2b053ea007d6ca9cc820cb910597e8b5dad89d70.zip
Fix #130
Removed action support from the builtin one as well, due to it adding some uneccassery complexity and it being only asked upon by one user
Diffstat (limited to 'src/model')
-rw-r--r--src/model/channel/message.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/model/channel/message.rs b/src/model/channel/message.rs
index e1eccf0..372c3de 100644
--- a/src/model/channel/message.rs
+++ b/src/model/channel/message.rs
@@ -88,8 +88,9 @@ impl Message {
/// # let mut client = Client::new("token", Handler);
/// #
/// use serenity::model::Channel;
+ /// use serenity::framework::BuiltinFramework;
///
- /// client.with_framework(|f| f
+ /// client.with_framework(BuiltinFramework::new()
/// .configure(|c| c.prefix("~"))
/// .command("channelname", |c| c.exec(channel_name)));
///