31 lines
705 B
C#
31 lines
705 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
using Discord.Commands;
|
|
using Discord.WebSocket;
|
|
|
|
using PluginManager.Interfaces;
|
|
|
|
namespace MusicCommands
|
|
{
|
|
public class queue : DBCommand
|
|
{
|
|
public string Command => "queue";
|
|
public List<string> Aliases => new() { "q" };
|
|
|
|
public string Description => "check queue";
|
|
|
|
public string Usage => "queue";
|
|
|
|
public bool requireAdmin => false;
|
|
|
|
public async void ExecuteServer(SocketCommandContext context)
|
|
{
|
|
await context.Channel.SendMessageAsync($"You have {Data.Playlist.Count} items in queue");
|
|
}
|
|
}
|
|
}
|