Пример #1
0
        public async Task GetBandMatchAsync()
        {
            var currentWar = await Clash.GetCurrentWarAsync(Guild.ClanTag);

            if (currentWar is null || currentWar.State != WarState.Preparation)
            {
                await SendMessageAsync("Either not in war or the API hasn't updated yet");

                return;
            }

            await SendMessageAsync($"!match {currentWar.Opponent.Tag}");
        }