Fix
This commit is contained in:
parent
2f13d0011c
commit
cb5c7a3da5
@ -65,7 +65,7 @@ impl EventHandler for Handler {
|
|||||||
// contains data like the current user's guild Ids, current user data,
|
// contains data like the current user's guild Ids, current user data,
|
||||||
// private channels, and more.
|
// private channels, and more.
|
||||||
//
|
//
|
||||||
// In this case, just print what the current user's username is.
|
// In this case, just print what the current bot's username is.
|
||||||
fn on_ready(&self, _: Context, ready: Ready) {
|
fn on_ready(&self, _: Context, ready: Ready) {
|
||||||
println!("{} is connected!", ready.user.name);
|
println!("{} is connected!", ready.user.name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user