Add more words to the censored words list

This commit is contained in:
2025-08-18 19:17:37 -03:00
parent 2f99b32aea
commit 31bb63a77a
11 changed files with 363 additions and 16 deletions
+7
View File
@@ -2,6 +2,7 @@ use std::fmt::Debug;
use async_trait::async_trait;
use thiserror::Error;
use twilight_http::response::DeserializeBodyError;
use crate::framework::commands::{
arguments::Argument, context::CommandContext, permissions::Permission,
@@ -26,6 +27,12 @@ pub enum CommandError {
#[error("The command was used in DMs, but it can only be used in servers")]
ServerCommandRunInDMs,
#[error(transparent)]
DiscordAPIFailed(#[from] twilight_http::Error),
#[error(transparent)]
DiscordDeserializationFailed(#[from] DeserializeBodyError),
}
#[async_trait]