fmt: clippy and nightly fmt
This commit is contained in:
parent
57d4947edf
commit
9d409e3692
20 changed files with 194 additions and 143 deletions
|
@ -1,13 +1,17 @@
|
|||
use serenity::all::{ChunkGuildFilter, GuildId, GuildMembersChunkEvent};
|
||||
use serenity::{
|
||||
all::{ChunkGuildFilter, GuildId, GuildMembersChunkEvent},
|
||||
async_trait,
|
||||
client::{Context, EventHandler},
|
||||
model::gateway::{GatewayIntents, Ready},
|
||||
model::gateway::GatewayIntents,
|
||||
Client,
|
||||
};
|
||||
use skynet_discord_bot::common::database::{db_init, get_server_config_bulk, DataBase};
|
||||
use skynet_discord_bot::common::set_roles::normal;
|
||||
use skynet_discord_bot::{get_config, Config};
|
||||
use skynet_discord_bot::{
|
||||
common::{
|
||||
database::{db_init, get_server_config_bulk, DataBase},
|
||||
set_roles::normal,
|
||||
},
|
||||
get_config, Config,
|
||||
};
|
||||
use std::{process, sync::Arc};
|
||||
use tokio::sync::RwLock;
|
||||
|
||||
|
@ -70,6 +74,6 @@ async fn check_bulk(ctx: &Context) {
|
|||
let db = db_lock.read().await;
|
||||
|
||||
for server_config in get_server_config_bulk(&db).await {
|
||||
normal::update_server(&ctx, &server_config, &[], &[]).await;
|
||||
normal::update_server(ctx, &server_config, &[], &[]).await;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue