Remove useless alias
parent
97c18385dd
commit
576e2ef563
|
@ -9,6 +9,7 @@
|
||||||
- Added `/lyrics`, which provides the user with an auto-updating lyrics embed
|
- 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)
|
- 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
|
- Changed `/playing` to automatically update the embed accordingly
|
||||||
|
- Renamed `/leave` to `/disconnect`
|
||||||
- Removed the Database API, replaced with direct connection to a Postgres database
|
- 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
|
**Full Changelog** (good luck): https://github.com/SpoticordMusic/spoticord/compare/v2.1.2..v2.2.0
|
||||||
|
|
|
@ -6,7 +6,7 @@ use spoticord_utils::discord::Colors;
|
||||||
|
|
||||||
use crate::bot::Context;
|
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> {
|
pub async fn disconnect(ctx: Context<'_>) -> Result<(), Error> {
|
||||||
let manager = ctx.data();
|
let manager = ctx.data();
|
||||||
let guild = ctx.guild().expect("poise lied to me").id;
|
let guild = ctx.guild().expect("poise lied to me").id;
|
||||||
|
|
Loading…
Reference in New Issue