Apply cargo fmt --all
This commit is contained in:
@@ -18,7 +18,11 @@ use twilight_model::{
|
||||
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)]
|
||||
pub enum DatabaseOrDiscordError {
|
||||
@@ -1014,7 +1018,7 @@ impl MessageBuilder {
|
||||
propagation_message_id: self.propagation_message_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),
|
||||
|
||||
|
||||
// You can't create a deleted message, this is always going to be false when
|
||||
// initializing
|
||||
is_deleted: false,
|
||||
|
||||
@@ -3,13 +3,15 @@ use std::fmt::Debug;
|
||||
use async_trait::async_trait;
|
||||
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 context;
|
||||
pub mod messages;
|
||||
pub mod runner;
|
||||
pub mod permissions;
|
||||
pub mod runner;
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
pub enum CommandError {
|
||||
|
||||
Reference in New Issue
Block a user