Apply cargo fmt --all

This commit is contained in:
2025-08-15 01:44:22 -03:00
parent e472936c51
commit 77182d9633
2 changed files with 10 additions and 4 deletions
+6 -2
View File
@@ -18,7 +18,11 @@ use twilight_model::{
user::User as TwilightUser, user::User as TwilightUser,
}; };
use crate::{constants::DEFAULT_PREFIX, groups::calls::DisplayProfile, utils::{get_random_u64, i64_to_u64, u64_to_i64}}; use crate::{
constants::DEFAULT_PREFIX,
groups::calls::DisplayProfile,
utils::{get_random_u64, i64_to_u64, u64_to_i64},
};
#[derive(Debug, Error)] #[derive(Debug, Error)]
pub enum DatabaseOrDiscordError { pub enum DatabaseOrDiscordError {
@@ -1014,7 +1018,7 @@ impl MessageBuilder {
propagation_message_id: self.propagation_message_id.map(u64_to_i64), propagation_message_id: self.propagation_message_id.map(u64_to_i64),
propagation_channel_id: self.propagation_channel_id.map(u64_to_i64), propagation_channel_id: self.propagation_channel_id.map(u64_to_i64),
replying_to_id: self.replying_to_id.map(u64_to_i64), replying_to_id: self.replying_to_id.map(u64_to_i64),
// You can't create a deleted message, this is always going to be false when // You can't create a deleted message, this is always going to be false when
// initializing // initializing
is_deleted: false, is_deleted: false,
+4 -2
View File
@@ -3,13 +3,15 @@ use std::fmt::Debug;
use async_trait::async_trait; use async_trait::async_trait;
use thiserror::Error; use thiserror::Error;
use crate::framework::commands::{arguments::Argument, context::CommandContext, permissions::Permission}; use crate::framework::commands::{
arguments::Argument, context::CommandContext, permissions::Permission,
};
pub mod arguments; pub mod arguments;
pub mod context; pub mod context;
pub mod messages; pub mod messages;
pub mod runner;
pub mod permissions; pub mod permissions;
pub mod runner;
#[derive(Debug, Error)] #[derive(Debug, Error)]
pub enum CommandError { pub enum CommandError {