예제 #1
0
        public async Task ModHelp()    //Standard Mod Help man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("Click for GitHub link with Help, Updates, and More!")
                          .WithDescription($"Use `help [command]` to get specialized help! For Example: `s@help kick`")
                          .WithUrl("https://github.com/crewszk/Sub-Bot")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .WithFooter(footer =>
            {
                footer
                .WithText("To see standard commands, type s!help")
                .WithIconUrl("https://crewszk.github.io/images/botIcon.gif");
            })
                          .WithAuthor(author =>
            {
                author
                .WithName("Moderator Help Page")
                .WithUrl("https://crewszk.github.io/Sub-Bot/index.html")
                .WithIconUrl("https://crewszk.github.io/images/botIcon.gif");
            })
                          .AddField("⚖ Moderation Tools", "`kick` `ban` `mute`\n`prune` `role`", true);

            //.AddField("🛠 Settings", "`disable` `enable` `welcome`\n`goodbye` `timezone`\n`nsfw` ", true);

            await ReplyAsync("", false, builder.Build());
        }
예제 #2
0
        public async Task Help()    //This is the main help embed with all the standard commands
        {
            var builder = new EmbedBuilder()
                          .WithTitle("Click for Github Link with Help, Updates, and More!")
                          .WithDescription("Use `s!help [command]` to get specialized help! For Example: `s!help hug`\n")
                          .WithUrl("https://github.com/crewszk/Sub-Bot")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .WithFooter(footer =>
            {
                footer
                .WithText("To see moderator commands, type s@help")
                .WithIconUrl("https://crewszk.github.io/images/botIcon.gif");
            })
                          .WithAuthor(author =>
            {
                author
                .WithName("Standard Help Page")
                .WithUrl("https://crewszk.github.io/Sub-Bot/index.html")
                .WithIconUrl("https://crewszk.github.io/images/botIcon.gif");
            })
                          .AddField("ℹ️  Information", "`help` `version` `ping`  `info`\n`role`  `channel`  `server`", true)
                          .AddField("👫 Social", "`hug` `slap` `cuddle` `poke`\n`alone` `dance` `laugh`", true)
                          .AddField("🤣 Memes", "`quote`  `traps`  `pickle`\n`stinky`", true)
                          .AddField("🎲 Games", "`trivia`  `roll`  `8ball`");

            await ReplyAsync("", false, builder.Build());
        }
예제 #3
0
        public async Task AloneAsync()
        {
            var builder       = new EmbedBuilder();
            var guildUserName = (Context.User as SocketGuildUser).Nickname ?? (Context.User as SocketGuildUser).Username;

            builder.WithDescription($"**{guildUserName}** is feeling alone, don't be so alone 😭")
            .WithImageUrl(RandomReferences.NewGif("alone"))
            .WithColor(new Color(RandomReferences.NewColor()));

            await ReplyAsync("", false, builder.Build());
        }
예제 #4
0
        [Command("alone")]    //Along man page
        public async Task AloneHelp()
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!alone")
                          .WithDescription("``` Outputs a random lonely gif. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!alone`\nPosts a lonely gif", true)
                          .AddField("***Usages***", "`s!alone`", true);

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #5
0
        public async Task MagicConchHelp()    //8ball man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!8ball")
                          .WithDescription("``` Play a game of 8ball with by \n asking a question. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!8ball Is Hella cool?`\nWill post a random 8ball response", true)
                          .AddField("***Usages***", "`s!8ball [statement]", true);

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #6
0
        [Command("slap")]    //Slap man page
        public async Task SlapHelp()
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!slap")
                          .WithDescription("``` Outputs a random slapping gif. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!slap @Hella.#7777`\nPosts a gif to slap Hewwa xwx", true)
                          .AddField("***Usages***", "`s!slap [user]`", true);

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #7
0
        public async Task TriviaHelp()    //Trivia man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!trivia")
                          .WithDescription("``` Posts random trivia. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!trivia`\nPosts random trivia", true)
                          .AddField("***Usages***", "`s!trivia`", true);

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #8
0
        private static async Task RemoveMuteSend(IGuildUser user, ISocketMessageChannel channel, IRole role)
        {
            var targetUser = user.Nickname ?? user.Username;
            var builder    = new EmbedBuilder()
                             .WithDescription($"**{targetUser}** has been un-muted.")
                             .WithColor(new Color(RandomReferences.NewColor()));

            await user.RemoveRoleAsync(role);

            await channel.SendMessageAsync("", false, builder.Build());
        }
예제 #9
0
        public async Task TrapsHelp()    //Traps man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!traps")
                          .WithDescription("``` Outputs a random trap gif/picture.```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!traps`\nWill display a trap gif/picture", true)
                          .AddField("***Usages***", "`s!traps`", true);

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #10
0
        public async Task ServerHelp()     //Server man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!server")
                          .WithDescription("``` Shows information about the server ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!server`\nshows info about the server", true)
                          .AddField("***Usages***", "`s!server`", true)
                          .AddField("***Aliases***", "*__serverinfo__*, *__sinfo__*");

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #11
0
        public async Task BanHelp()    //Ban man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s@ban")
                          .WithDescription("``` Bans a specified user from the server. \n You may specify a reason. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s@ban @Hella.#7777`\nBans Hewwa from the server uwu", true)
                          .AddField("***Usages***", "`s@ban [user] [reason]`", true)
                          .AddField("***Aliases***", "*__outlaw__*, *__banish__*, *__begone__*");

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #12
0
        [Command("dance")]    //Dance man page
        public async Task DanceHelp()
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!dance")
                          .WithDescription("``` Outputs a random dance gif. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!dance`\nPosts a dancing gif\n`s!dance @Hella.#7777`\n" +
                                    "Post a gif to dance with Hewwa uwu", true)
                          .AddField("***Usages***", "`s!dance [user]`", true);

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #13
0
        public async Task CuddleHelp()    //Cuddle man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!cuddle")
                          .WithDescription("``` Outputs a random cuddle gif. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!cuddle`\nWill display cuddle gif\n`s!cuddle @Hella.#7777`\n" +
                                    "Post a gif to cuddle Hewwa owo", true)
                          .AddField("***Usages***", "`s!cuddle [user]`", true);

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #14
0
        public async Task HugHelp()    //Hug man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!hug")
                          .WithDescription("``` Outputs a random hugging gif. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!hug`\nWill display hugging gif\n`s!hug @Hella.#7777`\n" +
                                    "Post a gif to hug Hewwa uwu", true)
                          .AddField("***Usages***", "`s!hug [user]`", true);

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #15
0
        [Command("laugh")]    //Laugh man page
        public async Task LaughHelp()
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!laugh")
                          .WithDescription("``` Outputs a random laughing gif. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!laugh`\nPosts a laughing gif\n`s!laugh @Hella.#7777\n" +
                                    "Posts a gif to laugh at Hewwa xwx", true)
                          .AddField("***Usages***", "`s!laugh`\n`s!laugh [user]`", true);

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #16
0
        public async Task RollHelp()    //Roll man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!roll")
                          .WithDescription("``` Role a specified die. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!roll 1d6`\nRolls a single d6\n`s!roll 3d20`\n" +
                                    "Rolls three d20 dice", true)
                          .AddField("***Usages***", "`s!roll [amount]d[die]", true);

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #17
0
        public async Task KickHelp()    //Kick man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s@kick")
                          .WithDescription("``` Kicks a specified user from the server. \n You may specify a reason. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s@kick @Hella.#7777`\nKicks Hewwa from the server uwu", true)
                          .AddField("***Usages***", "`s@kick [user] [reason]`", true)
                          .AddField("***Aliases***", "*__remove__*, *__boot__*");

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #18
0
        public async Task MuteHelp()    //Mute man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s@mute")
                          .WithDescription("``` Mutes a specified user in the server. \n You may specify a reason. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s@mute @Hella.#7777`\nMutes Hewwa uwu", true)
                          .AddField("***Usages***", "`s@mute [user] [reason]`", true)
                          .AddField("***Aliases***", "*__silence__*, *__gag__*, *__muzzle__*");

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #19
0
        public async Task StinkyHelp()    //Stinky man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!stinky")
                          .WithDescription("``` Uh Oh Stinky. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!stinky`\nUh Oh Stinky\n`s!stinky @Hella.#7777`\n" +
                                    "Hewwa's a stinky uwu", true)
                          .AddField("***Usages***", "`s!stinky [user]`\n`s!stinky`", true);

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #20
0
        public async Task PickleHelp()    //Pickle man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!pickle")
                          .WithDescription("``` Calculates a users pickle size.```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!pickle`\nWill display your pickle size\n`s!pickle @Hella.#7777`\n" +
                                    "Will display Hewwa's humongous pickle rick", true)
                          .AddField("***Usages***", "`s!pickle [user]`", true);

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #21
0
        public async Task PingHelp()    //Ping man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!ping")
                          .WithDescription("``` Displays pong to see if the bot is online. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!ping`\nWill display \'Pong!\'\n`s!beep`\nWill display \'Boop!\'" +
                                    "\n`s!bip`\nWill display \'Bap!\'", true)
                          .AddField("***Usages***", "`s!ping`", true)
                          .AddField("***Aliases***", "*__beep__*, *__bip__*");

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #22
0
        public async Task QuoteHelp()    //Quote man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!quote")
                          .WithDescription("``` Posts a quote from a specified \n user or records a quote for \n later use. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!quote @Hella.#7777`\nPosts Hewwa's quote\n`s!quote \"Ok Boomer\"\n" +
                                    "Records the quote as your quote\n`s@quote @Hella.#7777 \"Ok Boomer\"`\n" +
                                    "Records the quote as Hewwa's quote [Mods Only]", true)
                          .AddField("***Usages***", "`s!quote [user]`\n`s!quote \"[quote]\"`\n`s@quote [user] \"[quote]\"`", true);

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #23
0
        public async Task ChannelHelp()    //Channel man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!channel")
                          .WithDescription("``` Shows information about channels in the server. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!channel`\nshows info about the current channel\n`s!channel rules`\n" +
                                    "shows info about the rules channel", true)
                          .AddField("***Usages***", "`s!channel [#channel]", true)
                          .AddField("***Aliases***", "*__channelinfo__*, *__cinfo__*");

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #24
0
        public async Task RoleHelp()    //Role man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!role")
                          .WithDescription("``` Shows information about roles in the server. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!role`\nshows info about your roles\n`s!role Moderators`\n" +
                                    "shows info about the Moderators role", true)
                          .AddField("***Usages***", "`s!role [role]`", true)
                          .AddField("***Aliases***", "*__roleinfo__*, *__rinfo__*");

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #25
0
        public async Task InfoHelp()    //Info man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s!info")
                          .WithDescription("``` Shows information about users in the server. ```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***", "`s!info`\nshows info about you\n`s!info @Hella.#7777`\n" +
                                    "shows info about Hewwa uwu\n", true)
                          .AddField("***Usages***", "`s!info [user]`", true)
                          .AddField("***Aliases***", "*__information__*, *__sauce__*");

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #26
0
        public async Task PruneHelp()    //Prune man page
        {
            var builder = new EmbedBuilder()
                          .WithTitle("s@prune")
                          .WithDescription("``` Prunes messages from the channel.\n You may specify a user, a string, or a flag." +
                                           "\n Omitting a number prunes the most recent message.```")
                          .WithColor(new Color(RandomReferences.NewColor()))
                          .AddField("***Examples***",
                                    "`s@prune 20`\nRemoves last 20 messages in channel\n`s@prune 10 @Hella.#7777`\n" +
                                    "Removes last 20 messages sent by Hella\nin the channel\n`s@prune 5 Handholding`\n" +
                                    "Removes last 5 messages with the string \"Handholding\"\n`s@prune 10 -images`\n" +
                                    "Removes last 10 images posted", true)
                          .AddField("***Usages***", "`s@prune [number]`\n`s@prune [user]`\n`s@prune [string]`\n`s@prune [flag]`\n" +
                                    "`s@prune [number] [user]`\n`s@prune [number] [string]`\n`s@prune [number] [flag]`\n" +
                                    "`s@prune [user] [string]`\n`s@prune [user] [flag]`\n`s@prune [number] [user] [flag]`\n" +
                                    "`s@prune [number] [user] [string]`", true)
                          .AddField("***Flags***", "*__-image__*, *__-images__*, *__-i__*\n*__-links__*, *__-link__*, *__-l__*\n*__-mentions__*, *__-mention__*, *__-m__*");

            await ReplyAsync("", false, BuildWithHelpMenuAuthor(builder));
        }
예제 #27
0
        public async Task StinkyAsync(IGuildUser user = null)
        {
            var builder = new EmbedBuilder();

            if (user != null)
            {
                var targetUser = (user as SocketGuildUser).Nickname ?? (user as SocketGuildUser).Username;

                builder.WithDescription($"Uh oh, **{targetUser}** is stinky. Smelly poopy!")
                .WithImageUrl(RandomReferences.NewGif("stinky"))
                .WithColor(new Color(RandomReferences.NewColor()));
            }
            else
            {
                builder.WithDescription("Uh oh, stinky. Smelly poopy! Poooop, smelly poop!")
                .WithImageUrl(RandomReferences.NewGif("stinky"))
                .WithColor(new Color(RandomReferences.NewColor()));
            }

            await ReplyAsync("", false, builder.Build());
        }
예제 #28
0
        public async Task CuddleAsync(IGuildUser user = null)
        {
            var builder       = new EmbedBuilder();
            var guildUserName = (Context.User as SocketGuildUser).Nickname ?? (Context.User as SocketGuildUser).Username;

            if (user != null)
            {
                var targetUser = (user as SocketGuildUser).Nickname ?? (user as SocketGuildUser).Username;


                builder.WithDescription($"**{targetUser}**, you got a cuddle from **{guildUserName}**")
                .WithImageUrl(RandomReferences.NewGif("cuddle"))
                .WithColor(new Color(RandomReferences.NewColor()));
            }
            else
            {
                builder.WithDescription($"**{guildUserName}** is cuddling with themselves, don't be so alone 😭")
                .WithImageUrl(RandomReferences.NewGif("alone"))
                .WithColor(new Color(RandomReferences.NewColor()));
            }

            await ReplyAsync("", false, builder.Build());
        }
예제 #29
0
        public async Task DanceAsync(IGuildUser user = null)
        {
            var builder       = new EmbedBuilder();
            var guildUserName = (Context.User as SocketGuildUser).Nickname ?? (Context.User as SocketGuildUser).Username;

            if (user != null)
            {
                var targetUser = (user as SocketGuildUser).Nickname ?? (user as SocketGuildUser).Username;


                builder.WithDescription($"**{targetUser}**, **{guildUserName}** is trying to dance with you!")
                .WithImageUrl(RandomReferences.NewGif("dance"))
                .WithColor(new Color(RandomReferences.NewColor()));
            }
            else
            {
                builder.WithDescription($"**{guildUserName}** is feeling the groove!")
                .WithImageUrl(RandomReferences.NewGif("dance"))
                .WithColor(new Color(RandomReferences.NewColor()));
            }

            await ReplyAsync("", false, builder.Build());
        }
예제 #30
0
        public async Task LaughAsync(IGuildUser user = null)
        {
            var builder       = new EmbedBuilder();
            var guildUserName = (Context.User as SocketGuildUser).Nickname ?? (Context.User as SocketGuildUser).Username;

            if (user != null)
            {
                var targetUser = (user as SocketGuildUser).Nickname ?? (user as SocketGuildUser).Username;


                builder.WithDescription($"**{targetUser}**, you're getting laughed at by **{guildUserName}**")
                .WithImageUrl(RandomReferences.NewGif("laugh"))
                .WithColor(new Color(RandomReferences.NewColor()));
            }
            else
            {
                builder.WithDescription($"**{guildUserName}** is bursting in laughter!")
                .WithImageUrl(RandomReferences.NewGif("laugh"))
                .WithColor(new Color(RandomReferences.NewColor()));
            }

            await ReplyAsync("", false, builder.Build());
        }