Skip to content

Commit

Permalink
Delete 予備
Browse files Browse the repository at this point in the history
  • Loading branch information
tuna2134 committed Sep 5, 2023
1 parent c780324 commit 563c454
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ async fn main() -> Result<(), Box<dyn Error + Send + Sync>> {
async fn create_application_commands(
client: Arc<Client>,
) -> Result<(), Box<dyn Error + Send + Sync>> {
/*
let application_id = {
let response = http.current_user_application().await?;
response.model().await?.id
};
*/
let interaction = client.http.interaction(client.application_id);
let commands = [CommandBuilder::new("ping", "bot ping", CommandType::ChatInput).build()];
interaction.set_global_commands(&commands).await?;
Expand Down

0 comments on commit 563c454

Please sign in to comment.