Add code of conduct button and fix invalid display names

This commit is contained in:
2025-08-24 21:32:59 -03:00
parent 0f5f390d68
commit a75fd9f092
2 changed files with 5 additions and 6 deletions
+4 -5
View File
@@ -3,16 +3,14 @@ use async_trait::async_trait;
use crate::{
extras::Extras,
framework::commands::{
Command, CommandError,
arguments::{Arg, Argument, NeedyString, ParseArguments},
context::CommandContext,
arguments::{Arg, Argument, NeedyString, ParseArguments}, context::CommandContext, Command, CommandError
},
groups::about::{
groups::{about::{
components::{
HelpDonateLinkButton, HelpGoBackButton, HelpSupportLinkButton, HelpWebsiteLinkButton,
},
embeds::{get_all_command_help_embed, get_command_help_embed, get_command_not_found_embed},
},
}, calls::components::CodeOfConductButton},
state::State,
};
@@ -65,6 +63,7 @@ impl Command<State, Extras> for HelpCommand {
.component(HelpWebsiteLinkButton, 1)
.component(HelpSupportLinkButton, 1)
.component(HelpDonateLinkButton, 1)
.component(CodeOfConductButton, 1)
.await?;
}