mirror of
https://github.com/eRgo35/lyra.git
synced 2026-02-04 12:26:10 +01:00
tools and kashi init
This commit is contained in:
13
src/main.rs
13
src/main.rs
@@ -17,11 +17,18 @@ use serenity::{
|
||||
|
||||
mod commands;
|
||||
|
||||
// music management commands
|
||||
use crate::commands::music::deafen::*;
|
||||
use crate::commands::music::join::*;
|
||||
use crate::commands::music::leave::*;
|
||||
use crate::commands::music::mute::*;
|
||||
|
||||
// tools
|
||||
use crate::commands::tools::ping::*;
|
||||
|
||||
// kashi
|
||||
use crate::commands::kashi::kashi::*;
|
||||
|
||||
struct HttpKey;
|
||||
|
||||
impl TypeMapKey for HttpKey {
|
||||
@@ -38,7 +45,11 @@ impl EventHandler for Handler {
|
||||
}
|
||||
|
||||
#[group]
|
||||
#[commands(join, deafen, leave, mute)]
|
||||
#[commands(
|
||||
join, deafen, leave, mute,
|
||||
ping,
|
||||
kashi
|
||||
)]
|
||||
struct General;
|
||||
|
||||
#[tokio::main]
|
||||
|
||||
Reference in New Issue
Block a user