feat: now using proper types for the guild and user ID's
This commit is contained in:
parent
ca6ae993c5
commit
6b08f82e2c
4 changed files with 85 additions and 45 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue