feat: send new members instructions to link wolves #19

Merged
silver merged 20 commits from new-member-message into main 2024-09-17 21:33:22 +00:00
Showing only changes of commit 5f4e46bb51 - Show all commits

View file

@ -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