.sad, .smch now persist restarts. .usmch added to unset music channel, since destroying a player won't reset it, Added --start-delay option for .race command

This commit is contained in:
Master Kwoth
2017-11-28 02:50:24 +07:00
parent 2ea157902e
commit 60e248c78a
10 changed files with 2168 additions and 10 deletions

View File

@ -92,8 +92,7 @@ namespace NadekoBot.Core.Services.Database.Models
public XpSettings XpSettings { get; set; }
public List<FeedSub> FeedSubs { get; set; } = new List<FeedSub>();
public bool AutoDcFromVc { get; set; }
//public List<ProtectionIgnoredChannel> ProtectionIgnoredChannels { get; set; } = new List<ProtectionIgnoredChannel>();
public MusicSettings MusicSettings { get; set; } = new MusicSettings();
}
public class NsfwBlacklitedTag : DbEntity

View File

@ -0,0 +1,11 @@
namespace NadekoBot.Core.Services.Database.Models
{
public class MusicSettings : DbEntity
{
public int GuildConfigId { get; set; }
public GuildConfig GuildConfig { get; set; }
public bool SongAutoDelete { get; set; } = false;
public ulong? MusicChannelId { get; set; } = null;
}
}