From 2f4045d4a9e686c1fdee6661d44579fd9b0d4198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czy=C5=BC?= Date: Tue, 13 Aug 2024 15:20:54 +0200 Subject: [PATCH] fix: added wip info for some commands --- src/commands/tools/ip.rs | 6 ++++-- src/commands/tools/metar.rs | 6 ++++-- src/commands/tools/taf.rs | 6 ++++-- src/commands/tools/weather.rs | 6 ++++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/commands/tools/ip.rs b/src/commands/tools/ip.rs index 1a3600b..054fa53 100644 --- a/src/commands/tools/ip.rs +++ b/src/commands/tools/ip.rs @@ -5,8 +5,10 @@ use crate::{commands::embeds::embed, Context, Error}; /// Shows IP information #[poise::command(prefix_command, slash_command, category = "Tools")] pub async fn ip(ctx: Context<'_>) -> Result<(), Error> { - ctx.send(CreateReply::default().embed(embed(ctx, "", "", "").await.unwrap())) - .await?; + ctx.send( + CreateReply::default().embed(embed(ctx, "IP Info", "Work in progress", "").await.unwrap()), + ) + .await?; Ok(()) } diff --git a/src/commands/tools/metar.rs b/src/commands/tools/metar.rs index cf012ca..b352e51 100644 --- a/src/commands/tools/metar.rs +++ b/src/commands/tools/metar.rs @@ -5,8 +5,10 @@ use crate::{commands::embeds::embed, Context, Error}; /// Prints metar for provided airport #[poise::command(prefix_command, slash_command, category = "Tools")] pub async fn metar(ctx: Context<'_>) -> Result<(), Error> { - ctx.send(CreateReply::default().embed(embed(ctx, "", "", "").await.unwrap())) - .await?; + ctx.send( + CreateReply::default().embed(embed(ctx, "Metar", "Work in progress", "").await.unwrap()), + ) + .await?; Ok(()) } diff --git a/src/commands/tools/taf.rs b/src/commands/tools/taf.rs index d9f6f5a..7ae81c2 100644 --- a/src/commands/tools/taf.rs +++ b/src/commands/tools/taf.rs @@ -5,8 +5,10 @@ use crate::{commands::embeds::embed, Context, Error}; /// Returns taf for provided airport #[poise::command(prefix_command, slash_command, category = "Tools")] pub async fn taf(ctx: Context<'_>) -> Result<(), Error> { - ctx.send(CreateReply::default().embed(embed(ctx, "", "", "").await.unwrap())) - .await?; + ctx.send( + CreateReply::default().embed(embed(ctx, "Taf", "Work in progress", "").await.unwrap()), + ) + .await?; Ok(()) } diff --git a/src/commands/tools/weather.rs b/src/commands/tools/weather.rs index 0c1f794..51bd016 100644 --- a/src/commands/tools/weather.rs +++ b/src/commands/tools/weather.rs @@ -10,8 +10,10 @@ pub async fn weather( #[rest] _location: String, ) -> Result<(), Error> { - ctx.send(CreateReply::default().embed(embed(ctx, "", "", "").await.unwrap())) - .await?; + ctx.send( + CreateReply::default().embed(embed(ctx, "Weather", "Work in progress", "").await.unwrap()), + ) + .await?; Ok(()) }