feat: send new members instructions to link wolves #19
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,8 @@ use serenity::{
|
|||
application::{command::Command, interaction::Interaction},
|
||||
gateway::{GatewayIntents, Ready},
|
||||
guild,
|
||||
prelude::Activity,
|
||||
user::OnlineStatus,
|
||||
},
|
||||
Client,
|
||||
};
|
||||
|
@ -80,6 +82,7 @@ impl EventHandler for Handler {
|
|||
|
||||
async fn ready(&self, ctx: Context, ready: Ready) {
|
||||
println!("[Main] {} is connected!", ready.user.name);
|
||||
ctx.set_presence(Some(Activity::playing("with humanity's fate")), OnlineStatus::Online).await;
|
||||
|
||||
match Command::set_global_application_commands(&ctx.http, |commands| {
|
||||
commands
|
||||
|
|
Loading…
Reference in a new issue