We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
examples/e14_slash_commands
1 parent 6c4072e commit a1f2441Copy full SHA for a1f2441
examples/e14_slash_commands/src/main.rs
@@ -61,11 +61,11 @@ impl EventHandler for Handler {
61
62
println!("I now have the following guild slash commands: {commands:#?}");
63
64
- let guild_command =
+ let global_command =
65
Command::create_global_command(&ctx.http, commands::wonderful_command::register())
66
.await;
67
68
- println!("I created the following global slash command: {guild_command:#?}");
+ println!("I created the following global slash command: {global_command:#?}");
69
}
70
71
0 commit comments