Skip to content

Commit

Permalink
Fix the test
Browse files Browse the repository at this point in the history
>.>
  • Loading branch information
arqunis committed Jul 22, 2017
1 parent 2b053ea commit 8cc2300
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/framework/create_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ impl CreateCommand {
/// # struct Handler;
/// # impl EventHandler for Handler {}
/// use serenity::client::{Client, Context};
/// use serenity::framework::Command;
/// use serenity::framework::{Command, BuiltinFramework};
/// use serenity::model::Message;
/// use std::env;
/// use std::sync::Arc;
///
/// let mut client = Client::new(&env::var("DISCORD_TOKEN").unwrap(), Handler);
///
/// client.with_framework(|f| f
/// client.with_framework(BuiltinFramework::new()
/// .configure(|c| c.prefix("~"))
/// .command("ping", |c| c
/// .check(owner_check)
Expand Down

0 comments on commit 8cc2300

Please sign in to comment.