refactor(commands/mod): format using cargo fmt
This commit is contained in:
parent
dbe1abd2aa
commit
3ed80a5626
1 changed files with 6 additions and 2 deletions
|
|
@ -10,8 +10,12 @@ pub trait SlashCommand: Send + Sync {
|
||||||
|
|
||||||
fn register(&self) -> CreateCommand;
|
fn register(&self) -> CreateCommand;
|
||||||
|
|
||||||
async fn run(&self, ctx: &Context, command: &CommandInteraction, database: &PgPool)
|
async fn run(
|
||||||
-> Result<(), serenity::Error>;
|
&self,
|
||||||
|
ctx: &Context,
|
||||||
|
command: &CommandInteraction,
|
||||||
|
database: &PgPool,
|
||||||
|
) -> Result<(), serenity::Error>;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct CommandEntry {
|
pub struct CommandEntry {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue