feat: added command to automatically update the mc whitelist

This commit is contained in:
silver 2024-03-03 14:40:37 +00:00
parent f417b9993a
commit 2c28f3edcc
5 changed files with 88 additions and 84 deletions

View file

@ -15,7 +15,7 @@ use serenity::{
};
use skynet_discord_bot::{get_now_iso, random_string, Config, DataBase, Wolves, WolvesVerify};
use sqlx::{Pool, Sqlite};
pub(crate) mod link {
pub mod link {
use super::*;
pub async fn run(command: &ApplicationCommandInteraction, ctx: &Context) -> String {
@ -234,7 +234,7 @@ pub(crate) mod link {
}
}
pub(crate) mod verify {
pub mod verify {
use super::*;
use crate::commands::link_email::link::{db_pending_clear_expired, get_verify_from_db};
use serenity::model::user::User;