From 53dc3cb714e5e279dde02b15e2e353f71594eb74 Mon Sep 17 00:00:00 2001 From: Andrej Date: Mon, 31 Jul 2017 10:36:57 +0200 Subject: Fix failing tests (#133) --- src/framework/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/framework/mod.rs') diff --git a/src/framework/mod.rs b/src/framework/mod.rs index ccebfd4..bc6afbd 100644 --- a/src/framework/mod.rs +++ b/src/framework/mod.rs @@ -339,11 +339,11 @@ impl BuiltinFramework { /// client.with_framework(BuiltinFramework::new() /// .complex_bucket("basic", 2, 10, 3, |_, guild_id, channel_id, user_id| { /// // check if the guild is `123` and the channel where the command(s) was called: - /// `456` + /// // `456` /// // and if the user who called the command(s) is `789` /// // otherwise don't apply the bucket at all. - /// guild_id.is_some() && guild_id.unwrap() == 123 && channel_id == 456 && user_id - /// == 789 + /// guild_id.is_some() && guild_id.unwrap() == 123 && channel_id == 456 + /// && user_id == 789 /// }) /// .command("ping", |c| c /// .bucket("basic") -- cgit v1.2.3