Add friend request command

This commit is contained in:
2025-08-14 19:04:57 -03:00
parent fe53f2e5c2
commit 8e0c591b21
5 changed files with 151 additions and 53 deletions
+2 -1
View File
@@ -126,7 +126,7 @@ use crate::{
groups::{
about::{commands::HelpCommand, components::HelpGoBackButton},
calls::{
commands::{CallCommand, HangupCommand, SkipCommand},
commands::{CallCommand, FriendRequestCommand, HangupCommand, SkipCommand},
events::MessageRedirector,
},
gateway::events::{ReadyHandler, ReconnectHandler},
@@ -227,6 +227,7 @@ async fn start(token: String, database_addr: String, shard: ShardId) {
.command(CallCommand::new())
.command(SkipCommand)
.command(HangupCommand)
.command(FriendRequestCommand)
.command(PrefixCommand)
.component(HelpGoBackButton)
.on_ready(ReadyHandler)