Add more logging
This commit is contained in:
parent
3d7555d60e
commit
37c670ea3b
@ -73,6 +73,7 @@ impl EventHandler for Handler {
|
|||||||
fn on_ready(&self, ctx: Context, ready: Ready) {
|
fn on_ready(&self, ctx: Context, ready: Ready) {
|
||||||
println!("{} is connected!", ready.user.name);
|
println!("{} is connected!", ready.user.name);
|
||||||
ctx.set_game(Game::playing("wc!help"));
|
ctx.set_game(Game::playing("wc!help"));
|
||||||
|
println!("Currently playing wc!help");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -121,6 +122,7 @@ fn main() {
|
|||||||
.expect("DATABASE_URL must be set");
|
.expect("DATABASE_URL must be set");
|
||||||
|
|
||||||
if ENABLE_FEEDS {
|
if ENABLE_FEEDS {
|
||||||
|
println!("Starting daemons...");
|
||||||
start_daemons();
|
start_daemons();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -156,4 +158,5 @@ fn start_daemons() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
println!("Started daemons.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user