Exemple #1
0
 public Task ResultTypesAsync()
 {
     //return SimpleEmbedAsync($"**Game Results:**\n{string.Join("\n", EloInfo.GameResults())}");
     return(SimpleEmbedAsync($"Mod/Admins can use command\n" +
                             $"`{Context.Prefix}Game <lobbyChannel> <gameNumber> <resultType>`\n" +
                             "to set a result.\n\n" +
                             $"**Game Result types:**\n{string.Join("\n", EloInfo.GameResults())}"));
 }
Exemple #2
0
        public Task ResultTypesAsync()
        {
            var mainResultTypesEmbed = new EmbedBuilder {
                Title = "Game Result Submission", Description = $"Available result types for use with Game Result Submission commands\n", Color = Color.Blue
            }.AddField("Game Result Types", $"\n{string.Join("\n", EloInfo.GameResults())}");

            if (Context.Server.Settings.GameSettings.AllowUserSubmissions)
            {
                mainResultTypesEmbed.AddField("User Result Submission", $"Captains can use command:\n" +
                                              $"`{ Context.Prefix }GameResult <lobbyChannel> <gameNumber> <resultType>`\n" +
                                              "to set a result.\n\n");
            }
            /*.AddField("\u200b", "asd")*/

            /*return SimpleEmbedAsync($"Mod/Admins can use command `{Context.Prefix}Game <lobbyChannel> <gameNumber> <resultType>` to set a result.\n" +
             *
             *                      $"**Game Result types:**\n{string.Join("\n", EloInfo.GameResults())}");*/

            return(ReplyAsync(string.Empty, false, mainResultTypesEmbed.Build()));
        }
 public Task ResultTypesAsync()
 {
     return(SimpleEmbedAsync($"**Game Results:**\n{string.Join("\n", EloInfo.GameResults())}"));
 }