changed stuff according to merge request !2
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// to be later integrated into interaction registry...currently component registry
|
||||
use crate::framework::{
|
||||
interactions::{
|
||||
InteractionError, context::InteractionContext, message_command::MessageCommand,
|
||||
@@ -11,7 +12,7 @@ use twilight_model::{
|
||||
gateway::payload::incoming::InteractionCreate,
|
||||
};
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Default, Debug)]
|
||||
pub struct MessageCommandRegistry<T> {
|
||||
inner: HashMap<String, Arc<dyn MessageCommand<T>>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user