aboutsummaryrefslogtreecommitdiff
path: root/src/ext/framework/create_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/framework/create_command.rs')
-rw-r--r--src/ext/framework/create_command.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext/framework/create_command.rs b/src/ext/framework/create_command.rs
index 68319af..7f2c25f 100644
--- a/src/ext/framework/create_command.rs
+++ b/src/ext/framework/create_command.rs
@@ -45,7 +45,7 @@ impl CreateCommand {
/// use serenity::model::Message;
/// use std::env;
///
- /// let mut client = Client::login_bot(&env::var("DISCORD_TOKEN").unwrap());
+ /// let mut client = Client::login(&env::var("DISCORD_TOKEN").unwrap());
///
/// client.with_framework(|f| f
/// .configure(|c| c.prefix("~"))