feat(import): module rename (endpoints -> handlers)
This commit is contained in:
parent
d5c0df353c
commit
7214caeed5
11
src/main.rs
11
src/main.rs
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue