fmt: fmt and clippy

This commit is contained in:
silver 2023-10-02 09:22:52 +01:00
parent d7b5cd36ea
commit b0028959ff

View file

@ -9,15 +9,14 @@ use serenity::{
client::Context,
model::{
application::interaction::application_command::ApplicationCommandInteraction,
id::UserId,
prelude::{command::CommandOptionType, interaction::application_command::CommandDataOptionValue},
},
};
use skynet_discord_bot::{get_now_iso, random_string, Config, DataBase, Wolves, WolvesVerify};
use sqlx::{Pool, Sqlite};
pub(crate) mod link {
use super::*;
use serenity::model::id::UserId;
pub async fn run(command: &ApplicationCommandInteraction, ctx: &Context) -> String {
let db_lock = {
@ -236,7 +235,6 @@ pub(crate) mod link {
}
pub(crate) mod verify {
use serenity::model::id::UserId;
use super::*;
use crate::commands::link_email::link::{db_pending_clear_expired, get_verify_from_db};
use serenity::model::user::User;