Cleanup, .clparew can now be ran everyone, modules load appropriate guild configs, IEnumerable<GuildConfig> replaces with NadekoBot.AllGuildConfigs
This commit is contained in:
NadekoBot.Core
NadekoBot.Modules.Gambling
NadekoBot.Modules.Games/Services
NadekoBot.Modules.Music/Services
NadekoBot.Modules.Searches/Services
NadekoBot.Modules.Utility
PatreonCommands.cs
Services
NadekoBot.Modules.Xp/Services
src/NadekoBot/data
@ -42,7 +42,7 @@ namespace NadekoBot.Modules.Administration.Services
|
||||
_creds = creds;
|
||||
_bc = bc;
|
||||
|
||||
var _ = Task.Run(async () =>
|
||||
Task.Run(async () =>
|
||||
{
|
||||
await bot.Ready.Task.ConfigureAwait(false);
|
||||
|
||||
@ -57,14 +57,12 @@ namespace NadekoBot.Modules.Administration.Services
|
||||
}
|
||||
});
|
||||
|
||||
var ___ = Task.Run(async () =>
|
||||
Task.Run(async () =>
|
||||
{
|
||||
await bot.Ready.Task.ConfigureAwait(false);
|
||||
|
||||
await Task.Delay(5000);
|
||||
|
||||
_client.Guilds.SelectMany(g => g.Users);
|
||||
|
||||
if(client.ShardId == 0)
|
||||
LoadOwnerChannels();
|
||||
});
|
||||
|
Reference in New Issue
Block a user