diff options
Diffstat (limited to 'src/commands/mod.rs')
| -rw-r--r-- | src/commands/mod.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs index b6130ab..5edf0b7 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -6,10 +6,12 @@ pub mod random; pub mod teawiespam; pub mod version; -use crate::{Data, Error}; +use crate::Data; + +use color_eyre::eyre::Report; use poise::Command; -pub fn to_global_commands() -> Vec<Command<Data, Error>> { +pub fn to_global_commands() -> Vec<Command<Data, Report>> { vec![ ask::ask(), bing::bing(), @@ -21,6 +23,6 @@ pub fn to_global_commands() -> Vec<Command<Data, Error>> { ] } -pub fn to_guild_commands() -> Vec<Command<Data, Error>> { +pub fn to_guild_commands() -> Vec<Command<Data, Report>> { vec![copypasta::copypasta(), teawiespam::teawiespam()] } |
