diff options
| author | Zeyla Hellyer <[email protected]> | 2017-04-23 13:39:06 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-04-23 13:39:06 -0700 |
| commit | 01c9942d3aed7e9513bb40ba70a4b91e6b3760fc (patch) | |
| tree | f2506c94ae64dd83eeb3231fdf344536d81725a2 /examples/01_basic_ping_bot/src | |
| parent | Update most dependency version requirements (diff) | |
| download | serenity-01c9942d3aed7e9513bb40ba70a4b91e6b3760fc.tar.xz serenity-01c9942d3aed7e9513bb40ba70a4b91e6b3760fc.zip | |
Remove example 01 debugging
Diffstat (limited to 'examples/01_basic_ping_bot/src')
| -rw-r--r-- | examples/01_basic_ping_bot/src/main.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/01_basic_ping_bot/src/main.rs b/examples/01_basic_ping_bot/src/main.rs index 06f66fe..477aea1 100644 --- a/examples/01_basic_ping_bot/src/main.rs +++ b/examples/01_basic_ping_bot/src/main.rs @@ -1,13 +1,9 @@ extern crate serenity; -#[macro_use] extern crate log; -extern crate env_logger; use serenity::Client; use std::env; fn main() { - env_logger::init().unwrap(); - // Configure the client with your Discord bot token in the environment. let token = env::var("DISCORD_TOKEN") .expect("Expected a token in the environment"); @@ -31,8 +27,6 @@ fn main() { if let Err(why) = msg.channel_id.say("Pong!") { println!("Error sending message: {:?}", why); } - - println!("{:?}", serenity::client::CACHE.read().unwrap().get_guild_channel(244567637332328450)); } }); |