style(main): adding the indentation for align all GatewayIntent
This commit is contained in:
parent
6f7fd043d2
commit
0ff9aa4340
1 changed files with 15 additions and 12 deletions
27
src/main.rs
27
src/main.rs
|
|
@ -1,5 +1,8 @@
|
||||||
mod commands;
|
mod commands;
|
||||||
|
mod database;
|
||||||
mod events;
|
mod events;
|
||||||
|
mod models;
|
||||||
|
mod utils;
|
||||||
|
|
||||||
use events::Bot;
|
use events::Bot;
|
||||||
use serenity::all::*;
|
use serenity::all::*;
|
||||||
|
|
@ -32,18 +35,18 @@ async fn main() {
|
||||||
println!("✅ | Migrations applied\n");
|
println!("✅ | Migrations applied\n");
|
||||||
|
|
||||||
let intents: GatewayIntents = GatewayIntents::AUTO_MODERATION_CONFIGURATION
|
let intents: GatewayIntents = GatewayIntents::AUTO_MODERATION_CONFIGURATION
|
||||||
| GatewayIntents::AUTO_MODERATION_EXECUTION
|
| GatewayIntents::AUTO_MODERATION_EXECUTION
|
||||||
| GatewayIntents::DIRECT_MESSAGE_REACTIONS
|
| GatewayIntents::DIRECT_MESSAGE_REACTIONS
|
||||||
| GatewayIntents::DIRECT_MESSAGES
|
| GatewayIntents::DIRECT_MESSAGES
|
||||||
| GatewayIntents::GUILD_INVITES
|
| GatewayIntents::GUILD_INVITES
|
||||||
| GatewayIntents::GUILD_MEMBERS
|
| GatewayIntents::GUILD_MEMBERS
|
||||||
| GatewayIntents::GUILD_MESSAGE_REACTIONS
|
| GatewayIntents::GUILD_MESSAGE_REACTIONS
|
||||||
| GatewayIntents::GUILD_MESSAGE_TYPING
|
| GatewayIntents::GUILD_MESSAGE_TYPING
|
||||||
| GatewayIntents::GUILD_MESSAGES
|
| GatewayIntents::GUILD_MESSAGES
|
||||||
| GatewayIntents::GUILD_MODERATION
|
| GatewayIntents::GUILD_MODERATION
|
||||||
| GatewayIntents::GUILD_VOICE_STATES
|
| GatewayIntents::GUILD_VOICE_STATES
|
||||||
| GatewayIntents::GUILDS
|
| GatewayIntents::GUILDS
|
||||||
| GatewayIntents::MESSAGE_CONTENT;
|
| GatewayIntents::MESSAGE_CONTENT;
|
||||||
|
|
||||||
let bot: Bot = Bot {
|
let bot: Bot = Bot {
|
||||||
commands: commands::import(),
|
commands: commands::import(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue