diff options
| author | Andrej <[email protected]> | 2017-07-31 10:36:57 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2017-07-31 10:36:57 +0200 |
| commit | 53dc3cb714e5e279dde02b15e2e353f71594eb74 (patch) | |
| tree | 8a3f001a0264340b23401fbd79a40f211cfbe43f /src/framework/mod.rs | |
| parent | Reuse `num` (diff) | |
| download | serenity-53dc3cb714e5e279dde02b15e2e353f71594eb74.tar.xz serenity-53dc3cb714e5e279dde02b15e2e353f71594eb74.zip | |
Fix failing tests (#133)
Diffstat (limited to 'src/framework/mod.rs')
| -rw-r--r-- | src/framework/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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") |