refactor: format the main.rs
This commit is contained in:
parent
e35b8c127f
commit
00fd1d944c
1 changed files with 1 additions and 4 deletions
|
|
@ -4,9 +4,7 @@ mod events;
|
||||||
use events::Bot;
|
use events::Bot;
|
||||||
use serenity::all::*;
|
use serenity::all::*;
|
||||||
use sqlx::postgres::PgPoolOptions;
|
use sqlx::postgres::PgPoolOptions;
|
||||||
use sqlx::{
|
use sqlx::{Pool, Postgres, migrate};
|
||||||
Pool, Postgres, migrate
|
|
||||||
};
|
|
||||||
use std::env;
|
use std::env;
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
|
|
@ -33,7 +31,6 @@ async fn main() {
|
||||||
.expect("❌ | Failed to run migrations");
|
.expect("❌ | Failed to run migrations");
|
||||||
println!("✅ | Migrations applied\n");
|
println!("✅ | Migrations applied\n");
|
||||||
|
|
||||||
|
|
||||||
let intents: GatewayIntents = GatewayIntents::default();
|
let intents: GatewayIntents = GatewayIntents::default();
|
||||||
|
|
||||||
let bot: Bot = Bot {
|
let bot: Bot = Bot {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue