diff options
| author | seth <[email protected]> | 2023-11-30 22:18:51 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-01 07:12:49 -0500 |
| commit | 76c0f94e6d7aa108424b34826eb7d8514b026287 (patch) | |
| tree | 7315bd6dfe52c158041bed64ba39781718a69335 /src/commands/bing.rs | |
| parent | db52e639b85d79bed870020aec7a045851ca5ee3 (diff) | |
feat: use eyre, better logging, & refactor
small commits be damned
Diffstat (limited to 'src/commands/bing.rs')
| -rw-r--r-- | src/commands/bing.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/commands/bing.rs b/src/commands/bing.rs index ed91bb3..b80ebca 100644 --- a/src/commands/bing.rs +++ b/src/commands/bing.rs @@ -1,8 +1,10 @@ -use crate::{Context, Error}; +use crate::Context; + +use color_eyre::eyre::Result; /// make sure the wie is alive #[poise::command(prefix_command)] -pub async fn bing(ctx: Context<'_>) -> Result<(), Error> { +pub async fn bing(ctx: Context<'_>) -> Result<()> { ctx.say("bong!").await?; Ok(()) } |
