Apply cargo fmt --all
This commit is contained in:
@@ -9,7 +9,10 @@ use twilight_util::builder::embed::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
constants::{COLOR_RED, COLOR_YELLOW}, discord::images, groups::calls::moderation::Rule, utils::ellipse,
|
constants::{COLOR_RED, COLOR_YELLOW},
|
||||||
|
discord::images,
|
||||||
|
groups::calls::moderation::Rule,
|
||||||
|
utils::ellipse,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub fn first_warning_embed(
|
pub fn first_warning_embed(
|
||||||
@@ -144,7 +147,7 @@ pub fn first_ban_embed(
|
|||||||
pub fn final_ban_embed(
|
pub fn final_ban_embed(
|
||||||
app: &Application,
|
app: &Application,
|
||||||
message: &Message,
|
message: &Message,
|
||||||
rules_broken: Vec<Arc<dyn Rule>>
|
rules_broken: Vec<Arc<dyn Rule>>,
|
||||||
) -> Embed {
|
) -> Embed {
|
||||||
EmbedBuilder::new()
|
EmbedBuilder::new()
|
||||||
.author(
|
.author(
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ use twilight_validate::request::webhook_username;
|
|||||||
|
|
||||||
use crate::discord::images;
|
use crate::discord::images;
|
||||||
|
|
||||||
|
pub mod commands;
|
||||||
pub(super) mod components;
|
pub(super) mod components;
|
||||||
pub(super) mod embeds;
|
pub(super) mod embeds;
|
||||||
pub mod commands;
|
|
||||||
pub mod events;
|
pub mod events;
|
||||||
pub(super) mod moderation;
|
pub(super) mod moderation;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user