namespace NadekoBot.Core.Services.Database.Models { public class MusicPlayerSettings { /// /// Auto generated Id /// public int Id { get; set; } /// /// Id of the guild /// public ulong GuildId { get; set; } /// /// Queue repeat type /// public PlayerRepeatType PlayerRepeat { get; set; } = PlayerRepeatType.Queue; /// /// Channel id the bot will always try to send track related messages to /// public ulong? MusicChannelId { get; set; } = null; /// /// Default volume player will be created with /// public int Volume { get; set; } = 100; /// /// Whether the bot should auto disconnect from the voice channel once the queue is done /// This only has effect if /// public bool AutoDisconnect { get; set; } = false; /// /// Selected quality preset for the music player /// public QualityPreset QualityPreset { get; set; } } public enum QualityPreset { Highest, High, Medium, Low } public enum PlayerRepeatType { None, Track, Queue } }