From 7214caeed58714b850d4848b5b76df8247e89012 Mon Sep 17 00:00:00 2001 From: doryan Date: Tue, 8 Oct 2024 23:32:06 +0400 Subject: [PATCH] feat(import): module rename (endpoints -> handlers) --- src/main.rs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/main.rs b/src/main.rs index 820fa69..3cacd3c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,20 +9,15 @@ use telers::{ mod actions; mod assets; +mod handlers; mod middlewares; mod types; mod utils; use middlewares::admin_check_middleware::AdminCheck; -mod endpoints; -use endpoints::{ - commands::{ - ban_command::ban, - info_commands::{help, privacy}, - mute_command::mute, - unmute_command::unmute, - }, +use handlers::{ + commands::{admin_commands::admin_command_endpoint, info_commands::info_commands_endpoint}, dice::dice_handler::dice_handler, };