removed language_manager.rs. framework reworked for slash commands. updated info commands for new framework
This commit is contained in:
@ -4,22 +4,18 @@ pub mod reminder;
|
||||
pub mod timer;
|
||||
pub mod user_data;
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
use guild_data::GuildData;
|
||||
use serenity::{
|
||||
async_trait,
|
||||
model::id::{GuildId, UserId},
|
||||
prelude::Context,
|
||||
};
|
||||
|
||||
use crate::{consts::DEFAULT_PREFIX, GuildDataCache, SQLPool};
|
||||
|
||||
use guild_data::GuildData;
|
||||
|
||||
use crate::models::user_data::UserData;
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
use tokio::sync::RwLock;
|
||||
|
||||
use crate::{consts::DEFAULT_PREFIX, models::user_data::UserData, GuildDataCache, SQLPool};
|
||||
|
||||
#[async_trait]
|
||||
pub trait CtxData {
|
||||
async fn guild_data<G: Into<GuildId> + Send + Sync>(
|
||||
|
Reference in New Issue
Block a user