forked from Skynet/discord-bot
fmt: clippy and nightly fmt
This commit is contained in:
parent
57d4947edf
commit
9d409e3692
20 changed files with 194 additions and 143 deletions
|
@ -4,11 +4,16 @@ use lettre::{
|
|||
Message, SmtpTransport, Transport,
|
||||
};
|
||||
use maud::html;
|
||||
use serenity::all::CommandOptionType;
|
||||
use serenity::builder::CreateCommandOption;
|
||||
use serenity::{builder::CreateCommand, client::Context, model::id::UserId};
|
||||
use skynet_discord_bot::common::database::{DataBase, Wolves, WolvesVerify};
|
||||
use skynet_discord_bot::{get_now_iso, random_string, Config};
|
||||
use serenity::{
|
||||
all::CommandOptionType,
|
||||
builder::{CreateCommand, CreateCommandOption},
|
||||
client::Context,
|
||||
model::id::UserId,
|
||||
};
|
||||
use skynet_discord_bot::{
|
||||
common::database::{DataBase, Wolves, WolvesVerify},
|
||||
get_now_iso, random_string, Config,
|
||||
};
|
||||
use sqlx::{Pool, Sqlite};
|
||||
|
||||
pub mod link {
|
||||
|
@ -298,11 +303,14 @@ pub mod link_docs {
|
|||
pub mod verify {
|
||||
use super::*;
|
||||
use crate::commands::wolves::link::{db_pending_clear_expired, get_server_member_discord, get_verify_from_db};
|
||||
use serenity::all::{CommandDataOption, CommandDataOptionValue, CommandInteraction};
|
||||
use serenity::model::user::User;
|
||||
use skynet_discord_bot::common::database::get_server_config;
|
||||
use skynet_discord_bot::common::database::{ServerMembersWolves, Servers};
|
||||
use skynet_discord_bot::common::wolves::committees::Committees;
|
||||
use serenity::{
|
||||
all::{CommandDataOption, CommandDataOptionValue, CommandInteraction},
|
||||
model::user::User,
|
||||
};
|
||||
use skynet_discord_bot::common::{
|
||||
database::{get_server_config, ServerMembersWolves, Servers},
|
||||
wolves::committees::Committees,
|
||||
};
|
||||
use sqlx::Error;
|
||||
|
||||
pub async fn run(command: &CommandInteraction, ctx: &Context) -> String {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue