diff --git a/examples/basic_structure/main.rs b/examples/basic_structure/main.rs index 32de696910a..62dc766c524 100644 --- a/examples/basic_structure/main.rs +++ b/examples/basic_structure/main.rs @@ -94,9 +94,9 @@ async fn main() { }; let framework = poise::Framework::builder() - .setup(move |ctx, _ready, framework| { + .setup(move |ctx, ready, framework| { Box::pin(async move { - println!("Logged in as {}", _ready.user.name); + println!("Logged in as {}", ready.user.name); poise::builtins::register_globally(ctx, &framework.options().commands).await?; Ok(Data { votes: Mutex::new(HashMap::new()),