Add Spotify support

This commit is contained in:
Myx
2024-10-01 22:24:31 +02:00
parent e044f2f91b
commit 9b8aec8be8
19 changed files with 382 additions and 132 deletions

View File

@@ -15,6 +15,12 @@ public static class Command
public const string Description = "Disconnect from the voice channel!";
}
public static class Clear
{
public const string Name = "clear";
public const string Description = "Clear the music queue!";
}
public static class Skip
{
public const string Name = "skip";

View File

@@ -13,6 +13,7 @@ public static class SlashCommandRegistration
RegisterCommand(client, Command.Skip.Name, Command.Skip.Description);
RegisterCommand(client, Command.Play.Name, Command.Play.Description, Command.Play.Options);
RegisterCommand(client, Command.Resume.Name, Command.Resume.Description);
RegisterCommand(client, Command.Clear.Name, Command.Clear.Description);
}
private static void RegisterCommand(