summary refs log tree commit diff
path: root/src/system/plugin/prefixes.rs
diff options
context:
space:
mode:
authorAshelyn Rose <git@ashen.earth>2025-03-01 18:29:08 -0700
committerAshelyn Rose <git@ashen.earth>2025-03-01 18:29:08 -0700
commitdf8e78aded7ce2c8653e81edeaaa026e7c44c713 (patch)
tree1d2cb57d8703327710ba0dd669321340bbb5adb4 /src/system/plugin/prefixes.rs
parent38be251b5f4ed4dabe21753451e23c233b62b6dd (diff)
Edit command
Diffstat (limited to 'src/system/plugin/prefixes.rs')
-rw-r--r--src/system/plugin/prefixes.rs12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/system/plugin/prefixes.rs b/src/system/plugin/prefixes.rs
index 42d8631..55a48d3 100644
--- a/src/system/plugin/prefixes.rs
+++ b/src/system/plugin/prefixes.rs
@@ -3,17 +3,23 @@ use twilight_model::id::{marker::ChannelMarker, Id};
 use twilight_model::channel::Message;
 use crate::system::{log::Logger, types::{Response, System}};
 
-use super::SeancePlugin;
+use super::{PluginCommand, SeancePlugin};
 
 pub struct ProxyPrefixes;
 
+impl ProxyPrefixes {
+    pub fn new() -> Self {
+        Self
+    }
+}
+
 #[async_trait]
 impl<'system> SeancePlugin<'system> for ProxyPrefixes {
-    fn get_commands(&self) -> Vec<&'static str> {
+    fn get_commands(&self) -> Vec<PluginCommand> {
         vec![]
     }
 
-    async fn handle_command<'message>(&self, _logger: &'system Logger, _system: &'system System, _message: &'message Message, args: Vec<&'message str>) {
+    async fn handle_command<'message>(&self, _logger: &'system Logger, _system: &'system System, _message: &'message Message, _command: PluginCommand, _args: Vec<&'message str>) {
         unreachable!("Prefix plugin has no commands")
     }