fix: added wip info for some commands

This commit is contained in:
2024-08-13 15:20:54 +02:00
parent aa215daf28
commit 2f4045d4a9
4 changed files with 16 additions and 8 deletions

View File

@@ -5,7 +5,9 @@ use crate::{commands::embeds::embed, Context, Error};
/// Shows IP information /// Shows IP information
#[poise::command(prefix_command, slash_command, category = "Tools")] #[poise::command(prefix_command, slash_command, category = "Tools")]
pub async fn ip(ctx: Context<'_>) -> Result<(), Error> { pub async fn ip(ctx: Context<'_>) -> Result<(), Error> {
ctx.send(CreateReply::default().embed(embed(ctx, "", "", "").await.unwrap())) ctx.send(
CreateReply::default().embed(embed(ctx, "IP Info", "Work in progress", "").await.unwrap()),
)
.await?; .await?;
Ok(()) Ok(())

View File

@@ -5,7 +5,9 @@ use crate::{commands::embeds::embed, Context, Error};
/// Prints metar for provided airport /// Prints metar for provided airport
#[poise::command(prefix_command, slash_command, category = "Tools")] #[poise::command(prefix_command, slash_command, category = "Tools")]
pub async fn metar(ctx: Context<'_>) -> Result<(), Error> { pub async fn metar(ctx: Context<'_>) -> Result<(), Error> {
ctx.send(CreateReply::default().embed(embed(ctx, "", "", "").await.unwrap())) ctx.send(
CreateReply::default().embed(embed(ctx, "Metar", "Work in progress", "").await.unwrap()),
)
.await?; .await?;
Ok(()) Ok(())

View File

@@ -5,7 +5,9 @@ use crate::{commands::embeds::embed, Context, Error};
/// Returns taf for provided airport /// Returns taf for provided airport
#[poise::command(prefix_command, slash_command, category = "Tools")] #[poise::command(prefix_command, slash_command, category = "Tools")]
pub async fn taf(ctx: Context<'_>) -> Result<(), Error> { pub async fn taf(ctx: Context<'_>) -> Result<(), Error> {
ctx.send(CreateReply::default().embed(embed(ctx, "", "", "").await.unwrap())) ctx.send(
CreateReply::default().embed(embed(ctx, "Taf", "Work in progress", "").await.unwrap()),
)
.await?; .await?;
Ok(()) Ok(())

View File

@@ -10,7 +10,9 @@ pub async fn weather(
#[rest] #[rest]
_location: String, _location: String,
) -> Result<(), Error> { ) -> Result<(), Error> {
ctx.send(CreateReply::default().embed(embed(ctx, "", "", "").await.unwrap())) ctx.send(
CreateReply::default().embed(embed(ctx, "Weather", "Work in progress", "").await.unwrap()),
)
.await?; .await?;
Ok(()) Ok(())