Example #1
0
 public GuildHandler(MainHandler MainHandler, SocketGuild Guild)
 {
     this.MainHandler   = MainHandler;
     this.Guild         = Guild;
     ConfigHandler      = new ConfigHandler(this);
     DatabaseHandler    = new DatabaseHandler(this);
     IgnoreHandler      = new IgnoreHandler(this);
     MusicHandler       = new MusicHandler(this);
     PersonalityHandler = new PersonalityHandler(this);
     TitleHandler       = new TitleHandler(this);
     TagHandler         = new TagHandler(this);
 }
Example #2
0
        public async Task Close()
        {
            await ConfigHandler.Close();

            await DatabaseHandler.Close();

            await IgnoreHandler.Close();

            await MusicHandler.Close();

            await PersonalityHandler.Close();

            await TitleHandler.Close();

            await TagHandler.Close();
        }
Example #3
0
        private async Task PrivateInitializeAsync()
        {
            await ConfigHandler.InitializeAsync();

            await DatabaseHandler.InitializeAsync();

            await IgnoreHandler.InitializeAsync();

            await PersonalityHandler.InitializeAsync();

            await TitleHandler.InitializeAsync();

            await TagHandler.InitializeAsync();

            await MusicHandler.InitializeAsync();
        }