feat(import): module rename (endpoints -> handlers)

This commit is contained in:
doryan 2024-10-08 23:32:06 +04:00
parent d5c0df353c
commit 7214caeed5

View File

@ -9,20 +9,15 @@ use telers::{
mod actions; mod actions;
mod assets; mod assets;
mod handlers;
mod middlewares; mod middlewares;
mod types; mod types;
mod utils; mod utils;
use middlewares::admin_check_middleware::AdminCheck; use middlewares::admin_check_middleware::AdminCheck;
mod endpoints; use handlers::{
use endpoints::{ commands::{admin_commands::admin_command_endpoint, info_commands::info_commands_endpoint},
commands::{
ban_command::ban,
info_commands::{help, privacy},
mute_command::mute,
unmute_command::unmute,
},
dice::dice_handler::dice_handler, dice::dice_handler::dice_handler,
}; };