mirror of
https://github.com/eRgo35/lyra.git
synced 2026-02-04 04:16:11 +01:00
13 lines
364 B
Rust
13 lines
364 B
Rust
use poise::CreateReply;
|
|
|
|
use crate::{commands::embeds::embed, Context, Error};
|
|
|
|
/// Shows weather for provided location
|
|
#[poise::command(prefix_command, slash_command, category = "Tools")]
|
|
pub async fn weather(ctx: Context<'_>) -> Result<(), Error> {
|
|
ctx.send(CreateReply::default().embed(embed(ctx, "", "", "").await.unwrap()))
|
|
.await?;
|
|
|
|
Ok(())
|
|
}
|