public async Task AnimaWaveSoulbreakInfoAsync(string wave, string tier)
        {
            LogMessageInfo();

            tier = tier.ToLower();
            if (new [] { "unique", "uni" }.Contains(tier))
            {
                tier = "unique";
            }
            if (new [] { "ssb", "super" }.Contains(tier))
            {
                tier = "ssb";
            }
            if (new [] { "bsb", "burst" }.Contains(tier))
            {
                tier = "bsb";
            }
            if (new [] { "usb", "ultra" }.Contains(tier))
            {
                tier = "usb";
            }
            if (new [] { "glint", "glint+", "g+", "fsb", "fsb+" }.Contains(tier))
            {
                tier = "glint";
            }
            if (new [] { "aasb", "woke", "awake" }.Contains(tier))
            {
                tier = "aasb";
            }
            if (new [] { "csb", "chain" }.Contains(tier))
            {
                tier = "csb";
            }
            if (new [] { "lm", "lms", "lmr" }.Contains(tier))
            {
                tier = "lmr";
            }
            if (new [] { "aosb", "uosb" }.Contains(tier))
            {
                tier = "aosb";
            }


            var validTiers = new [] { "unique", "ssb", "bsb", "usb", "glint", "aasb", "csb", "lmr", "aosb" };

            if (!validTiers.Contains(tier))
            {
                await Context.Channel.SendMessageAsync($"Usage: ?anima <wave> <tier>. Valid tiers are: {string.Join(", ", validTiers)}");

                return;
            }

            var animaWaveEmbeds = embedBuilder.BuildEmbedsForAnimaWave(wave, tier);

            foreach (var animaWave in animaWaveEmbeds)
            {
                await Context.Channel.SendMessageAsync(embed : animaWave);
            }
        }
Exemple #2
0
        public async Task AnimaWaveSoulbreakInfoAsync(string wave, string tier)
        {
            tier = tier.ToLower();
            var validTiers = new [] { "unique", "ssb", "bsb", "usb", "glint", "aasb", "csb", "lmr" };

            if (!validTiers.Contains(tier))
            {
                await Context.Channel.SendMessageAsync($"Usage: ?anima <wave> <tier>. Valid tiers are: {string.Join(", ", validTiers)}");

                return;
            }

            var animaWaveEmbeds = embedBuilder.BuildEmbedsForAnimaWave(wave, tier);

            foreach (var animaWave in animaWaveEmbeds)
            {
                await Context.Channel.SendMessageAsync(embed : animaWave);
            }
        }