Skip to content

Commit

Permalink
feat: owo
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanccn committed Nov 3, 2023
1 parent d832851 commit 30ef695
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/commands/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use crate::Context;

pub mod owo;
pub mod ping;
pub mod pomelo;
pub mod presence;
Expand All @@ -15,6 +16,7 @@ pub fn to_vec() -> Vec<
>,
> {
vec![
owo::owo(),
ping::ping(),
pomelo::pomelo(),
presence::presence(),
Expand Down
11 changes: 11 additions & 0 deletions src/commands/owo.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
use anyhow::Result;

use crate::Context;

/// Pong!
#[poise::command(slash_command, guild_only)]
pub async fn owo(ctx: Context<'_>) -> Result<()> {
ctx.say("owo").await?;

Ok(())
}

0 comments on commit 30ef695

Please sign in to comment.