summaryrefslogtreecommitdiff
path: root/src/commands/random_teawie.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/random_teawie.rs')
-rw-r--r--src/commands/random_teawie.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/commands/random_teawie.rs b/src/commands/random_teawie.rs
deleted file mode 100644
index 8dcc76b..0000000
--- a/src/commands/random_teawie.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::api::guzzle::get_random_teawie;
-use crate::{Context, Error};
-
-/// get a random teawie
-#[poise::command(prefix_command, slash_command)]
-pub async fn random_teawie(ctx: Context<'_>) -> Result<(), Error> {
- match get_random_teawie().await {
- Ok(resp) => {
- ctx.say(resp).await?;
- Ok(())
- }
- Err(why) => {
- ctx.say("i'm too lazy to send a selfie").await?;
- Err(why)
- }
- }
-}