Ejemplo n.º 1
0
        public async Task UnloadAsync()
        {
            for (var i = 0; i < Commands.Modules.Count(); i++)
            {
                await Commands.RemoveModuleAsync(Commands.Modules.ElementAt(i));
            }

            Commands = null;
            Services = null;

            IServices.Clear();
            IServices = null;

            Rest          = null;
            Socket        = null;
            Configuration = null;
        }