示例#1
0
        /// <summary>
        /// Gets the raffle to be displayed in the server chat
        /// </summary>
        /// <param name="price">The cost of one ticket</param>
        /// <param name="amountOfTickets">How many tickets one person can buy</param>
        /// <param name="item">The item that is being raffled</param>
        /// <returns>EmbedBuilder holding the raffle to be displayed</returns>
        private EmbedBuilder GetRaffleToDisplay(int price, int amountOfTickets, string item)
        {
            //Create an embed to show the raffle details
            Discord.EmbedBuilder raffle = new Discord.EmbedBuilder();
            Random ran    = new Random();     //Used to get a random number for the color of the embed
            int    color1 = ran.Next(0, 256);
            int    color2 = ran.Next(0, 256); //Get three random numbers for the color
            int    color3 = ran.Next(0, 256);

            raffle.WithColor(color1, color2, color3); //Add a color to the raffle with RBG values
            raffle.AddField("Prize", item);           //Add the field holding the prize

            //Display that a raffle was made
            if (price == 0) //If there is a price per ticket
            {
                raffle.AddField("Entry Cost", "Free");
            }
            else
            {
                raffle.AddField("Entry Cost", price + " gold");
            }

            if (amountOfTickets > 0) //How many tickets you can purchase
            {
                raffle.AddField("Number Of Tickets Per Person", amountOfTickets);
            }
            else
            {
                raffle.AddField("Number Of Tickets Per Person", "Unlimited");
            }

            return(raffle);
        }
示例#2
0
 public static Discord.EmbedBuilder ErrorBuilder(string exception, Exception ex)
 {
     Discord.EmbedBuilder builder = BaseBuilder("", "Well this is awkward, I made a mistake", ColorPicker.FailedResponse,
                                                new EmbedAuthorBuilder().WithName("Error"), null);
     builder.AddField(new EmbedFieldBuilder().WithName("**Error details**").WithValue(exception));
     if (ex != null)
     {
         builder.AddField(new EmbedFieldBuilder().WithName("Do not worry!")
                          .WithValue("This error has already been sent to Bort, he will work on this soon I promise!"));
         //TODO ErrorHandler.SendErrorBort(exception);
     }
     return(builder);
 }
示例#3
0
        private async Task SendChipAsEmbed(SocketMessage message, Chip toSend)
        {
            var embed = new Discord.EmbedBuilder
            {
                Title = toSend.Name
            };

            if (toSend.Type == "Mega")
            {
                embed.Color = new Color(0x90F8F8); //Megachip Blue
            }
            else if (toSend.Type == "Giga")
            {
                embed.Color = new Color(0xF8C8D8);
            }
            MemoryStream imageStream = new MemoryStream();

            ChipImages.Instance.GetElement(toSend.Element).Save(imageStream, System.Drawing.Imaging.ImageFormat.Png);
            //File.WriteAllBytes("./test.png", imageStream.GetBuffer());
            embed.AddField("Element:", String.Join(", ", toSend.Element), true);
            if (toSend.Skill[0] != "--")
            {
                embed.AddField("Skill", String.Join(", ", toSend.Skill), true);
            }
            embed.ThumbnailUrl = "attachment://unknown.png";
            //embed.ThumbnailUrl = ChipImages.fireURL;
            embed.AddField("Range:", toSend.Range, true);
            if (toSend.Damage != "--")
            {
                embed.AddField("Damage:", toSend.Damage, true);
            }
            if (!toSend.Hits.StartsWith('0'))
            {
                embed.AddField("Hits:", toSend.Hits, true);
            }
            //embed.AddField("Description:", toSend.Description);
            embed.WithDescription(toSend.Description);
            embed.WithFooter(toSend.Type);
            var valToSend = embed.Build();

            //Console.WriteLine(imageStream.Position);
            imageStream.Seek(0, SeekOrigin.Begin); //reset to the beginning because apparently not automatic
                                                   //await message.Channel.SendMessageAsync(embed: valToSend);
                                                   //await message.Channel.SendFileAsync(imageStream, "b1nzy.png");
                                                   //embed: new EmbedBuilder {ImageUrl = "attachment://b1nzy.png"}.Build());
            await message.Channel.SendFileAsync(imageStream, "unknown.png", embed : valToSend);

            imageStream.Dispose();
        }
示例#4
0
文件: Test.cs 项目: Fasuh/bot
        public async Task info(SocketUser user = null)
        {
            if (user == null)
            {
                user = Context.Message.Author;
            }
            dbase.chkserver(Context.Guild);
            string       query = "SELECT * FROM uzytkownicy as u INNER JOIN `servery` as s ON u.Server = s.id WHERE u.user='******' AND s.nid='" + Context.Guild.Id.ToString() + "'";
            MySqlCommand cmd   = new MySqlCommand(query, dbase.connect);

            if (!dbase.HasRows(cmd))
            {
                query = "INSERT INTO `uzytkownicy`(`id`, `user`, `score`, `ranks`, `level`, `link`, `server`) VALUES (null,'" + user.Id.ToString() + "',0 ,null ,1 ,null,  '" + dbase.Chkserver(Context.Guild.Id.ToString()) + "')";
                cmd   = new MySqlCommand(query, dbase.connect);
                dbase.make(cmd);
                query = "SELECT * FROM `uzytkownicy` as u INNER JOIN `servery` as s ON u.Server = s.id WHERE u.user='******' AND s.nid='" + Context.Guild.Id.ToString() + "'";
                cmd   = new MySqlCommand(query, dbase.connect);
            }
            DataTable info    = dbase.Read(cmd);
            var       builder = new Discord.EmbedBuilder();

            builder.WithTitle("Informacje o uzytkowniku " + user.Username);
            builder.WithThumbnailUrl(user.GetAvatarUrl());
            builder.AddField("Ilość punktów:", info.Rows[0][2]);
            builder.AddInlineField("Poziom:", info.Rows[0][4]);
            if (info.Rows[0][5] != null && info.Rows[0][5].ToString() != "")
            {
                builder.AddInlineField("Deviantart:", info.Rows[0][5].ToString());
            }
            builder.WithColor(Color.DarkGreen);
            await Context.Channel.SendMessageAsync("", false, builder);
        }
示例#5
0
        public async Task GetItem([Remainder] string name)
        {
            var message = await ReplyAsync("Getting data...");

            var database = new RiotData();
            //var item = database.Items.FirstOrDefault(x => x.name.ToLower().Equals(name.ToLower()));
            var     itemList = database.Items.Where(x => x.name.ToLower().Equals(name.ToLower())).Include(i => i.gold).ToList();
            ItemDto item     = null;

            Discord.EmbedBuilder builder = null;
            if (itemList.Count > 1)
            {
                var items = database.Items.Where(x => x.name.ToLower().Contains(name.ToLower())).ToList();
                builder = Builders.BaseBuilder("Multiple items found", "", Color.Red, null, "");
                string itemsstring = "";
                items.ForEach(x => itemsstring += x.name + "\n");
                builder.AddField("Items", itemsstring);
                await ReplyAsync("", embed : builder.Build());
            }
            else
            {
                var items = database.Items.Include(x => x.gold).Where(x => x.name.ToLower().Contains(name.ToLower())).ToList();
                if (items.Count == 1)
                {
                    item    = items[0];
                    builder = Builders.BaseBuilder("", "", Color.DarkBlue,
                                                   new EmbedAuthorBuilder().WithName(item.name),
                                                   $"http://ddragon.leagueoflegends.com/cdn/6.24.1/img/item/{item.ItemId}.png");
                    builder.AddField("Effect", item.plaintext);
                    builder.AddField("Tooltip",
                                     Regex.Replace(item.description.Replace("<br>", "\n"), "<.*?>", String.Empty));
                    builder.AddField("Cost", $"**Total: **{item.gold.total}\n" +
                                     $"**Base: **{item.gold.Base}");
                    if (!string.IsNullOrEmpty(item.requiredChampion))
                    {
                        builder.AddField("Required Champion", item.requiredChampion);
                    }
                    if (item.consumed)
                    {
                        builder.AddField("Consumable",
                                         $"This item is a consumable and a play can have {item.stacks} of this item at a time.");
                    }
                    await ReplyAsync("", embed : builder.Build());
                }
                else if (items.Count > 1)
                {
                    builder = Builders.BaseBuilder("Multiple items found", "", Color.Red, null, "");
                    string itemsstring = "";
                    items.ForEach(x => itemsstring += x.name + "\n");
                    builder.AddField("Items", itemsstring);
                    await ReplyAsync("", embed : builder.Build());
                }
                else
                {
                    builder = Builders.ErrorBuilder("Item not found");
                    await ReplyAsync("", embed : builder.Build());
                }
            }
            await message.DeleteAsync();
        }
示例#6
0
        private async Task GuildLeaveLog(SocketGuild guild)
        {
            var logChannel = _client.GetChannel(647167484616769566) as SocketTextChannel;

            var embed = new Discord.EmbedBuilder()
            {
                Title = "📤 Left guild 📤",
                Color = Discord.Color.Red
            };

            embed.AddField("Name", guild.Name, true);
            embed.AddField("ID", guild.Id, true);
            embed.WithFooter($"Now in {_client.Guilds.Count.ToString()} guilds.");
            embed.WithCurrentTimestamp();

            //await logChannel.SendMessageAsync($"📤 Left guild \"{guild.Name}\" (`{guild.Id}`). Now in {_client.Guilds.Count.ToString()} guilds.");
            await logChannel.SendMessageAsync("", embed : embed.Build());
        }
示例#7
0
        public async Task Games()
        {
            var games = RequestHandler.GetGames();

            Discord.EmbedBuilder builder = Builders.BaseBuilder("", "", ColorPicker.SmashModule,
                                                                null, "");
            string message = "";

            games.ForEach(x => message += x.Name + "\n");
            builder.AddField(new EmbedFieldBuilder().WithValue(message).WithName("All games playable on " + Names.SmashLadder));
            await ReplyAsync("", embed : builder.Build());
        }
示例#8
0
        public async Task Help()
        {
            var embed = new Discord.EmbedBuilder();

            embed.AddField("!help", "Will display list of commands!");
            embed.AddField("!info", "Will display Smart Toshinou info!");
            embed.AddField("!checkUpdate", "Will display the status of the bot!");
            embed.AddField("!github", "Will link the Github!");
            embed.AddField("!github master", "Stable Toshinou version!");
            embed.AddField("!github beta", "Beta Toshinou version!");
            embed.AddField("!roll <amount>", "Will roll a number between 1 and <amount>!");
            embed.Color = Color.Green;
            embed.WithAuthor("Smart Toshinou | Help", "", ""); // Name, IconURL, URL(???)
            await ReplyAsync("", false, embed);
        }
示例#9
0
        public async Task UserInfo(SocketGuildUser user)
        {
            var perms    = user.GuildPermissions.ToList();
            var allPerms = string.Join(", ", perms);

            if (user != null)
            {
                var answer = new Discord.EmbedBuilder();
                answer.WithColor(40, 200, 150);
                answer.ThumbnailUrl = user.GetAvatarUrl(ImageFormat.Auto);
                answer.AddField("User Info for " + user, "UserID | " + user.Id);
                //answer.AddInlineField("User Nickname" + "", user.Nickname);
                answer.AddInlineField("Server Permissions ", allPerms);
                answer.AddInlineField("Joined Server at", user.JoinedAt);
                answer.AddInlineField("Joined Discord at ", user.CreatedAt.DateTime.ToLongDateString());
                answer.AddInlineField("User Status ", user.Status);
                await Context.Channel.SendMessageAsync("", false, answer.Build());
            }
        }
示例#10
0
        public static Discord.EmbedBuilder UserInfo(string username)
        {
            RootObject root = RequestHandler.GetUserByName(username);
            User       user = root.user;

            Discord.EmbedBuilder builder = Builders.BaseBuilder("Link to " + Names.SmashLadder + " Profile", "All information known about **" + user.username + "**",
                                                                ColorPicker.SmashModule,
                                                                new EmbedAuthorBuilder().WithName(Names.SmashLadder)
                                                                .WithUrl("http://www.smashladder.com"), "");
            builder.WithThumbnailUrl("https://www.smashladder.com/images/subhypepikachu-logo.png");
            if (user.selected_flair != null)
            {
                builder.WithAuthor(new EmbedAuthorBuilder().WithName(Names.SmashLadder)
                                   .WithUrl("http://www.smashladder.com").WithIconUrl("http:" + user.selected_flair.url));
            }
            string location = "";

            if (!string.IsNullOrEmpty(user.location.Locality))
            {
                location += user.location.Locality + ", ";
            }
            if (!string.IsNullOrEmpty(user.location.State))
            {
                location += user.location.State + ", ";
            }
            if (!string.IsNullOrEmpty(user.location.Country.name))
            {
                location += user.location.Country.name;
            }
            string status = "Offline";
            string sub    = "";

            if (user.is_online != null)
            {
                status = "Online";
            }
            if (user.is_subscribed != null)
            {
                sub = "**User is subscribed!**\n";
            }
            builder.AddField(new EmbedFieldBuilder().WithName("Profile").WithValue(
                                 "**Name: **" + user.username + "\n" +
                                 "**Member Since: **" + user.member_since.full.ToLongDateString() + "\n" +
                                 "**Location: **" + location + "\n" +
                                 "**Status message: **" + user.away_message + "\n" +
                                 "**Total matches played: **" + user.total_matches_played + "\n" +
                                 "**Status: **" + status + "\n" + sub
                                 ));
            var filteredgames = user.ladder_information.AllGames.Where(x => x != null).ToList();

            try
            {
                filteredgames = filteredgames.Where(x => x.league.stats.RankedPlayed != 0).ToList();
            }
            catch
            {
                //No ranked games played
            }
            foreach (var game in filteredgames)
            {
                try
                {
                    var characters = "";
                    var count      = 3;
                    if (game.characters.Count < count)
                    {
                        count = game.characters.Count;
                    }
                    if (count != 0)
                    {
                        characters = "**Characters:**\n";
                        for (int i = 0; i < count; i++)
                        {
                            characters += "**  " + game.characters[i].name + ": **" + game.characters[i].percent + "%\n";
                        }
                    }
                    var rank = "**Ranked: **Unranked\n";
                    if (!string.IsNullOrEmpty(game.league.Tier))
                    {
                        rank = "**Ranked: **" + game.league.Tier + " " + game.league.Division + "\n";
                    }
                    builder.AddField(new EmbedFieldBuilder().WithName(game.name).WithValue(
                                         "**Total ranked games played: **" + game.league.stats.RankedPlayed + "\n" +
                                         rank +
                                         characters
                                         ));
                }
                catch
                {
                }
            }

            if (root.now_playing != null)
            {
                string type = "Friendlies";
                if (root.now_playing.is_ranked)
                {
                    type = "Ranked";
                }

                string rankp1 = "Unranked";
                try
                {
                    var games1 = root.now_playing.player1.ladder_information.AllGames;
                    games1 = games1.Where(x => x != null).ToList();
                    SmashHandler.DataTypes.Game gamep1 = games1.Single(x => x.id == root.now_playing.ladder.id);
                    if (!string.IsNullOrEmpty(gamep1.league.Tier))
                    {
                        rankp1 = gamep1.league.Tier + " " + gamep1.league.Division;
                    }
                }
                catch { }
                string rankp2 = "Unranked";
                try
                {
                    var games2 = root.now_playing.player2.ladder_information.AllGames;
                    games2 = games2.Where(x => x != null).ToList();
                    SmashHandler.DataTypes.Game gamep2 = games2.Single(x => x.id == root.now_playing.ladder.id);
                    if (!string.IsNullOrEmpty(gamep2.league.Tier))
                    {
                        rankp2 = gamep2.league.Tier + " " + gamep2.league.Division;
                    }
                }
                catch { }
                builder.AddField(new EmbedFieldBuilder().WithName("Currently Playing").WithValue(
                                     "**" + root.now_playing.ladder_name + " " + type + "**: \n" +
                                     "Using " + root.now_playing.preferred_build.name + "\n" +
                                     root.now_playing.player1.username + " " + "(" + rankp1 + ")" + " vs " + root.now_playing.player2.username + " (" + rankp2 + ")"));
            }
            builder.WithUrl(user.profile_url);
            return(builder);
        }
示例#11
0
        public async Task GetCharacter([Remainder][Summary("The name of the chracter")] string name)
        {
            var character = RequestHandler.GetCharacterName(name);

            if (character == null)
            {
                await ReplyAsync("", embed : Builders.ErrorBuilder("Character not found"));
            }
            var moves = RequestHandler.GetMoves(name);

            Discord.EmbedBuilder builder = Builders.BaseBuilder("", "", Color.DarkTeal,
                                                                new EmbedAuthorBuilder().WithName("KuroganeHammer Result:").WithUrl("http://kuroganehammer.com"),
                                                                character.ThumbnailURL);
            //builder.WithImageUrl(character.MainImageURL);
            builder.WithUrl(character.FullURL);
            string info = "";

            info += "**Name: **" + character.Name;
            if (!string.IsNullOrEmpty(character.Description))
            {
                info += "**Description: **" + character.Description;
            }
            if (!string.IsNullOrEmpty(character.Style))
            {
                info += "**Style: **" + character.Style;
            }
            builder.AddField(new EmbedFieldBuilder().WithName("Information").WithValue(info));
            var movement = RequestHandler.GetMovement(name);
            var half     = movement.Attributes.Count / 2;
            var info1    = "";
            var info2    = "";

            for (int i = 0; i < movement.Attributes.Count / 2; i++)
            {
                info1 += $"**{movement.Attributes[i].Name}**: {movement.Attributes[i].Value}\n";
                info2 += $"**{movement.Attributes[i + half].Name}**: {movement.Attributes[i + half].Value}\n";
            }
            builder.AddInlineField("Movement", info1);
            builder.AddInlineField("Movement", info2);
            string movesinfo    = "";
            string specials     = "";
            int    specialcount = 0;
            string aerials      = "";
            string smashes      = "";
            string grabs        = "";
            string tilts        = "";

            moves.ForEach(x =>
            {
                if (x.MoveType == "ground")
                {
                    if (x.Name.Contains("smash"))
                    {
                        smashes += x.Name + "\n";
                    }
                    else if (x.Name.Contains("tilt"))
                    {
                        tilts += x.Name + "\n";
                    }
                    else if (x.Name.ToLower().Contains("grab"))
                    {
                        grabs += x.Name + "\n";
                    }
                    else
                    {
                        movesinfo += x.Name + "\n";
                    }
                }

                if (x.MoveType == "special")
                {
                    specials += x.Name + "\n";
                    specialcount++;
                }
                if (x.MoveType == "aerial")
                {
                    aerials += x.Name + "\n";
                }
            });
            builder.AddInlineField("Ground Moves", movesinfo);
            builder.AddInlineField("Smashes", smashes);
            builder.AddInlineField("Specials", specials);
            builder.AddInlineField("Aerials", aerials);
            builder.AddInlineField("Tilts", tilts);
            builder.AddInlineField("Grabs", tilts);
            await ReplyAsync("", embed : builder.Build());
        }
示例#12
0
        public async Task GetMove(string charactername, [Remainder] string moveName)
        {
            Discord.EmbedBuilder builder = null;
            var character = RequestHandler.GetCharacterName(charactername);

            if (character == null)
            {
                await ReplyAsync("", embed : Builders.ErrorBuilder("Character not found"));
            }
            var  moves = RequestHandler.GetMoves(charactername);
            Move move  = null;

            move = moves.FirstOrDefault(x => x.Name.ToLower().Equals(moveName.ToLower()));
            if (move == null)
            {
                move = moves.FirstOrDefault(x => x.Name.ToLower().Contains(moveName.ToLower()));
            }
            if (move != null)
            {
                builder = Builders.BaseBuilder("", "", Color.DarkBlue,
                                               new EmbedAuthorBuilder().WithName(character.Name + " | " + move.Name)
                                               .WithUrl("http://kuroganehammer.com/smash4/" + move.Owner), character.ThumbnailURL);
                string statistics = "";
                //builder.WithImageUrl("https://zippy.gfycat.com/EuphoricCookedHornshark.webm"); //TODO Add later when gifs are supported but holy shit it works.
                if (!string.IsNullOrEmpty(move.MoveType))
                {
                    statistics += "**Move Type:** " + move.MoveType + "\n";
                }
                if (!string.IsNullOrEmpty(move.BaseDamage))
                {
                    statistics += "**Base Damage:** " + move.BaseDamage + "%\n";
                }
                if (!string.IsNullOrEmpty(move.BaseKockbackSetKnockback))
                {
                    statistics += "**Base/Set Knockback: **" + move.BaseKockbackSetKnockback + "\n";
                }
                if (!string.IsNullOrEmpty(move.LandingLag))
                {
                    statistics += "**Landinglag: **" + move.LandingLag + " frames\n";
                }
                if (!string.IsNullOrEmpty(move.HitboxActive))
                {
                    statistics += "**Hitbox Active: **Frames " + move.HitboxActive + "\n";
                }
                if (!string.IsNullOrEmpty(move.KnockbackGrowth))
                {
                    statistics += "**Knockback Growth: **" + move.HitboxActive + "\n";
                }
                if (!string.IsNullOrEmpty(move.Angle))
                {
                    statistics += "**Angle: **" + move.Angle.Replace("361", "Sakuari Angle/361") + "\n";
                }
                if (!string.IsNullOrEmpty(move.AutoCancel))
                {
                    statistics += "**Auto-Cancel: **Frame " + move.AutoCancel.Replace("&gt;", ">") + "\n";
                }
                if (!string.IsNullOrEmpty(move.FirstActionableFrame))
                {
                    statistics += "**First Actionable Frame: **" + move.FirstActionableFrame + "\n";
                }
                builder.AddInlineField("Statistics",
                                       statistics);
                if (move.Angle.Equals("361"))
                {
                    builder.AddInlineField("Sakurai Angle",
                                           "\"The Sakurai angle (sometimes displayed as * in moveset lists) is a special knockback behavior that many attacks use. While it reads in the game data as an angle of 361 degrees, the actual resulting angle is dependent on whether the victim is on the ground or in the air, as well as the strength of the knockback.\"\nSource: https://www.ssbwiki.com/Sakurai_angle");
                }

                builder.AddField("Info",
                                 "If you don't understand the values please visit http://kuroganehammer.com/Glossary");
                await ReplyAsync("", embed : builder.Build());
            }
            else
            {
                await ReplyAsync("", embed : Builders.ErrorBuilder("Move was not found"));
            }
        }
示例#13
0
        public async Task GetInfo([Remainder] string name)
        {
            Discord.EmbedBuilder builder = null;
            var root = RequestHandler.GetTournamentRoot(name);

            if (root.entities != null)
            {
                if (!root.entities.tournament.Private)
                {
                    var tournament = root.entities.tournament;
                    builder = Builders.BaseBuilder(tournament.name, "", Color.DarkGreen, null,
                                                   null);
                    var baseDate  = new DateTime(1970, 1, 1, 0, 0, 0);
                    var startDate = baseDate.AddSeconds(tournament.startAt);
                    var endDate   = baseDate.AddSeconds(tournament.endAt);
                    builder.AddField("Information",
                                     $"**Name: **{tournament.name}\n" +
                                     $"**Venue: **{tournament.venueName}\n" +
                                     $"**Venue Adress: **{tournament.venueAddress}\n" +
                                     $"**Timezone: **{tournament.timezone.Replace("/", " ").Replace("_", "")}\n" +
                                     $"**From **{startDate.ToLongDateString()} \n" +
                                     $"**To:** {endDate.ToLongDateString()}");
                    if (root.entities.videogame != null && root.entities.videogame.Count < 20)
                    {
                        foreach (var game in root.entities.videogame)
                        {
                            var    events = root.entities.Event.Where(x => x.videogameId == game.id).ToList();
                            string info   = "";
                            events.ForEach(x => info += "- " + x.name + "\n");
                            builder.AddInlineField(game.name, info);
                        }
                    }
                    else if (root.entities.videogame != null)
                    {
                        string info = "**Games Available:**\n";

                        foreach (var videoGame in root.entities.videogame)
                        {
                            if (info.Length > 900)
                            {
                                info += "For more info check Smash.gg";
                                break;
                            }
                            info += videoGame.name + "\n";
                        }
                        builder.AddField("Games", info);
                    }

                    var image = tournament.images.FirstOrDefault(x => x.type == "profile");
                    if (image != null)
                    {
                        builder.WithThumbnailUrl(image.url);
                    }
                    var banner = tournament.images.FirstOrDefault(x => x.type == "banner");
                    if (banner != null)
                    {
                        builder.ImageUrl = banner.url;
                    }
                }
                else
                {
                    builder = Builders.BaseBuilder("Tournament is private.", "", Color.Red, null, "");
                    builder.AddField("No access", "The tournament you are trying to access is labeled as private in Smash.gg\nWhile we could technically show you the data, we decided not to be unethical and protect the user.");
                }
            }
            else
            {
                builder = Builders.BaseBuilder("Tournament was not found.", "", Color.Red, null, "");
            }
            await ReplyAsync("", embed : builder.Build());
        }