delete debug register

This commit is contained in:
mii
2022-08-12 22:43:21 +09:00
parent c52429bce0
commit 51c39036c6

View File

@ -1,4 +1,4 @@
use serenity::{prelude::Context, model::prelude::{Ready, application_command::ApplicationCommand, GuildId}};
use serenity::{prelude::Context, model::prelude::{Ready, application_command::ApplicationCommand}};
pub async fn ready(ctx: Context, ready: Ready) {
println!("{} is connected!", ready.user.name);
@ -17,11 +17,4 @@ pub async fn ready(ctx: Context, ready: Ready) {
.description("Config")
})
}).await;
GuildId(949296300099268668).set_application_commands(&ctx.http, |f| {
f.create_application_command(|command| {
command.name("config")
.description("Config")
})
}).await.unwrap();
}