Beispiel #1
0
        private async Task Select(string dir)
        {
            if (FileCount == 0)
            {
                return;
            }

            Cursor = 0;
            Path   = HelpManager.SelectDir(Path, dir);
            if (!OnFile())
            {
                FileCount = HelpManager.GetDirList(Path, Admin, Mod).Length;
            }
            else
            {
                FileCount = 0;
            }

            await UpdateEmbed();
        }