aboutsummaryrefslogtreecommitdiff
path: root/src/framework/mod.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-11-01 07:48:24 -0700
committerZeyla Hellyer <[email protected]>2017-11-01 07:48:24 -0700
commite219a6a9d6a890b008fc390a909ae504a0c1a329 (patch)
tree7b2e3cb85e24a7864936c8e2eff1b6a982882f88 /src/framework/mod.rs
parentFix ping bot example (#211) (diff)
downloadserenity-e219a6a9d6a890b008fc390a909ae504a0c1a329.tar.xz
serenity-e219a6a9d6a890b008fc390a909ae504a0c1a329.zip
Use consistent token names in examples
The names of environment variable tokens in the examples differed, so this makes them all use the same name.
Diffstat (limited to 'src/framework/mod.rs')
-rw-r--r--src/framework/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/mod.rs b/src/framework/mod.rs
index a5f458d..85ae6f4 100644
--- a/src/framework/mod.rs
+++ b/src/framework/mod.rs
@@ -36,7 +36,7 @@
//! use serenity::model::Message;
//! use std::env;
//!
-//! let mut client = Client::new(&env::var("DISCORD_BOT_TOKEN").unwrap());
+//! let mut client = Client::new(&env::var("DISCORD_TOKEN").unwrap());
//!
//! client.with_framework(|f| f
//! .configure(|c| c.prefix("~"))