diff options
Diffstat (limited to 'src/actions.rs')
-rw-r--r-- | src/actions.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/actions.rs b/src/actions.rs index d006207..b002df8 100644 --- a/src/actions.rs +++ b/src/actions.rs @@ -61,6 +61,8 @@ impl fmt::Display for AnyActionConfig { #[async_trait] pub trait Action<'a> { + fn name(&self) -> &'static str; + async fn run(&self, params: Option<&MessageParams<'_, '_>>) -> Result<()>; } |