new commands, music fixes and more

This commit is contained in:
2024-02-20 22:27:36 +01:00
parent 4e92771f8f
commit ee3d9a0c45
11 changed files with 317 additions and 68 deletions

View File

@@ -4,7 +4,12 @@ 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> {
pub async fn weather(
ctx: Context<'_>,
#[description = "Provide a city name"]
#[rest]
_location: String,
) -> Result<(), Error> {
ctx.send(CreateReply::default().embed(embed(ctx, "", "", "").await.unwrap()))
.await?;