OneWalkDev_DiscordMusicBot-dotNet/DiscordMusicBot-dotNet/Commands/BaseSlashCommand.cs
using Discord;
using Discord.WebSocket;
using DiscordMusicBot_dotNet.Services;
using System.Threading.Tasks;

namespace DiscordMusicBot_dotNet.Commands {
    public abstract class BaseSlashCommand {

        public abstract string Name { get; }

        /// <summary>
        ///     コマンドビルダー
        /// </summary>
        public abstract SlashCommandBuilder CommandBuilder();

        /// <summary>
        ///     実行
        /// </summary>
        /// <param name="command"></param>
        public abstract Task Execute(SocketSlashCommand command, AudioService service);
    }
}
