Hgit in alphabetical order. Fixes.
This commit is contained in:
parent
74d99ff391
commit
25cf4f7b0e
@ -70,9 +70,9 @@ namespace NadekoBot.Modules.Administration
|
||||
{
|
||||
var botConfig = uow.BotConfig.GetOrCreate();
|
||||
MigrateConfig0_9(uow, botConfig);
|
||||
//MigratePermissions0_9(uow);
|
||||
MigratePermissions0_9(uow);
|
||||
MigrateServerSpecificConfigs0_9(uow);
|
||||
//MigrateDb0_9(uow);
|
||||
MigrateDb0_9(uow);
|
||||
|
||||
//NOW save it
|
||||
botConfig.MigrationVersion = 1;
|
||||
|
@ -127,7 +127,7 @@ namespace NadekoBot.Modules.Help
|
||||
var helpstr = new StringBuilder();
|
||||
|
||||
var lastModule = "";
|
||||
foreach (var com in _commands.Commands.GroupBy(c=>c.Text).Select(g=>g.First()))
|
||||
foreach (var com in _commands.Commands.OrderBy(com=>com.Module.Name).GroupBy(c=>c.Text).Select(g=>g.First()))
|
||||
{
|
||||
if (com.Module.Name != lastModule)
|
||||
{
|
||||
|
@ -39,16 +39,16 @@ namespace NadekoBot.Services.Database.Repositories.Impl
|
||||
public GuildConfig For(ulong guildId)
|
||||
{
|
||||
var config = _set
|
||||
//.Include(gc => gc.FollowedStreams)
|
||||
// .Include(gc => gc.LogSetting)
|
||||
// .ThenInclude(ls => ls.IgnoredChannels)
|
||||
//.Include(gc => gc.LogSetting)
|
||||
// .ThenInclude(ls => ls.IgnoredVoicePresenceChannelIds)
|
||||
//.Include(gc => gc.FilterInvitesChannelIds)
|
||||
//.Include(gc => gc.FilterWordsChannelIds)
|
||||
//.Include(gc => gc.FilteredWords)
|
||||
//.Include(gc => gc.GenerateCurrencyChannelIds)
|
||||
//.Include(gc => gc.CommandCooldowns)
|
||||
.Include(gc => gc.FollowedStreams)
|
||||
.Include(gc => gc.LogSetting)
|
||||
.ThenInclude(ls => ls.IgnoredChannels)
|
||||
.Include(gc => gc.LogSetting)
|
||||
.ThenInclude(ls => ls.IgnoredVoicePresenceChannelIds)
|
||||
.Include(gc => gc.FilterInvitesChannelIds)
|
||||
.Include(gc => gc.FilterWordsChannelIds)
|
||||
.Include(gc => gc.FilteredWords)
|
||||
.Include(gc => gc.GenerateCurrencyChannelIds)
|
||||
.Include(gc => gc.CommandCooldowns)
|
||||
.FirstOrDefault(c => c.GuildId == guildId);
|
||||
|
||||
if (config == null)
|
||||
|
Loading…
Reference in New Issue
Block a user