From 576e2ef563aaa6c42592ad65d211243ceabbd314 Mon Sep 17 00:00:00 2001 From: DaXcess Date: Mon, 12 Aug 2024 16:36:27 +0200 Subject: [PATCH] Remove useless alias --- CHANGELOG.md | 1 + src/commands/music/disconnect.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d266b5..c23f017 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - Added `/lyrics`, which provides the user with an auto-updating lyrics embed - Added `/stop`, which disconnects the bot from Spotify without leaving the call (will still leave after 5 minutes) - Changed `/playing` to automatically update the embed accordingly +- Renamed `/leave` to `/disconnect` - Removed the Database API, replaced with direct connection to a Postgres database **Full Changelog** (good luck): https://github.com/SpoticordMusic/spoticord/compare/v2.1.2..v2.2.0 diff --git a/src/commands/music/disconnect.rs b/src/commands/music/disconnect.rs index 63d93a8..b36d999 100644 --- a/src/commands/music/disconnect.rs +++ b/src/commands/music/disconnect.rs @@ -6,7 +6,7 @@ use spoticord_utils::discord::Colors; use crate::bot::Context; -#[poise::command(slash_command, guild_only, aliases("leave"))] +#[poise::command(slash_command, guild_only)] pub async fn disconnect(ctx: Context<'_>) -> Result<(), Error> { let manager = ctx.data(); let guild = ctx.guild().expect("poise lied to me").id;