refactor(src/main): passing the rustfmt
This commit is contained in:
parent
64bd073b02
commit
3004d99444
1 changed files with 3 additions and 3 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
mod commands;
|
mod commands;
|
||||||
mod events;
|
mod events;
|
||||||
|
|
||||||
use events::Bot;
|
|
||||||
use commands::all_commands;
|
use commands::all_commands;
|
||||||
|
use events::Bot;
|
||||||
use serenity::all::*;
|
use serenity::all::*;
|
||||||
use std::env;
|
use std::env;
|
||||||
|
|
||||||
|
|
@ -10,8 +10,8 @@ use std::env;
|
||||||
async fn main() {
|
async fn main() {
|
||||||
dotenvy::dotenv().ok();
|
dotenvy::dotenv().ok();
|
||||||
|
|
||||||
let token: String = env::var("DISCORD_TOKEN")
|
let token: String =
|
||||||
.expect("❌ | DISCORD_TOKEN missing (check the env file)");
|
env::var("DISCORD_TOKEN").expect("❌ | DISCORD_TOKEN missing (check the env file)");
|
||||||
|
|
||||||
let intents: GatewayIntents = GatewayIntents::empty();
|
let intents: GatewayIntents = GatewayIntents::empty();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue