feat: now using proper types for the guild and user ID's

This commit is contained in:
silver 2023-09-11 18:18:59 +01:00
parent ca6ae993c5
commit 6b08f82e2c
4 changed files with 85 additions and 45 deletions

View file

@ -1,16 +1,17 @@
use skynet_discord_bot::{db_init, get_config, Accounts, Config, DataBase};
use std::process;
use std::{process, sync::Arc};
use serde::Deserialize;
use serenity::model::id::GuildId;
use serenity::{
async_trait,
client::{Context, EventHandler},
model::gateway::{GatewayIntents, Ready},
model::{
gateway::{GatewayIntents, Ready},
id::GuildId,
},
Client,
};
use sqlx::{Pool, Sqlite};
use std::sync::Arc;
use tokio::sync::RwLock;