Remove useless alias

main
DaXcess 2024-08-12 16:36:27 +02:00
parent 97c18385dd
commit 576e2ef563
No known key found for this signature in database
GPG Key ID: CF78CC72F0FD5EAD
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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;