コード例 #1
0
ファイル: AdminModule.cs プロジェクト: Soverclysm/Exurb1aBot
        public async Task BanWordHelp()
        {
            EmbedBuilder eb = await EmbedBuilderFunctions.MakeHelp("BanWord command help", "This command is for banning words from being searched (weather not included)",
                                                                   "https://i.imgur.com/Zd5uncM.png", "banword", new string[] { "help", "add", "remove", "list" }, new string[] {
                "banword add This searchterm is bad m'kay", "banword remove cats are despicable", "banword help", "banword list"
            }, Context);

            await Context.Channel.SendMessageAsync(embed : eb.Build());
        }
コード例 #2
0
ファイル: QuoteModule.cs プロジェクト: Soverclysm/Exurb1aBot
        public async Task DisplayHelp()
        {
            EmbedBuilder eb = await EmbedBuilderFunctions.MakeHelp("Quote command help",
                                                                   "A command made for the purposes of quoting",
                                                                   "https://static.thenounproject.com/png/81720-200.png", "quote", new string[] { "help", "get",
                                                                                                                                                  "random", "user", "remove" }, new string[] { "quote help", "quote add \"I wanna be called margret\" @27#2727"
                                                                                                                                                                                               , "quote remove 123456789", "quote random", "quote get 23", "quote user @Margret#0062" }, Context);

            await Context.Channel.SendMessageAsync(embed : eb.Build());
        }