From 5356cff3aff5304d41e356da580957d5af038573 Mon Sep 17 00:00:00 2001 From: Zeyla Hellyer Date: Sat, 25 Mar 2017 16:58:28 -0700 Subject: Fix tests --- src/ext/framework/help_commands.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ext/framework') diff --git a/src/ext/framework/help_commands.rs b/src/ext/framework/help_commands.rs index 9f193ec..4f16773 100644 --- a/src/ext/framework/help_commands.rs +++ b/src/ext/framework/help_commands.rs @@ -6,12 +6,13 @@ //! embeds: //! //! ```rs,no_run +//! use serenity::ext::framework::help_commands; //! use serenity::Client; //! use std::env; //! //! let mut client = Client::login_bot(&env::var("DISCORD_TOKEN").unwrap()); //! client.with_framework(|f| f -//! .command("help", |c| c.exec(help_commands::with_embeds))); +//! .command("help", |c| c.exec_help(help_commands::with_embeds))); //! ``` //! //! The same can be accomplished with no embeds by substituting `with_embeds` -- cgit v1.2.3