mirror of
https://github.com/mii443/ncb-tts-r2.git
synced 2025-08-22 16:15:29 +00:00
delete debug register
This commit is contained in:
@ -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();
|
||||
}
|
Reference in New Issue
Block a user