diff --git a/cogs/help.py b/cogs/help.py index fb9f0ec7..5aa9c0d4 100644 --- a/cogs/help.py +++ b/cogs/help.py @@ -1,323 +1,520 @@ +# Help paginator by Rapptz +# Edited by F4stZ4p + +import asyncio import datetime -from discord import Embed -from discord.ext import commands, menus -from discord.ext.commands import command +import discord +from discord.ext.commands import Cog from settings import enso_embedmod_colours -# Pages of the help embed -def help_menu(self, guild_icon): - # Setting up the embed for the Fun Commands - fun = Embed(title="(っ◔◡◔)っ Fun (っ◔◡◔)っ", - colour=enso_embedmod_colours, - timestamp=datetime.datetime.utcnow()) - - # Setting thumbnail and author - fun.set_thumbnail(url=guild_icon) - - # Setting up the fields in a separate array - fun_fields = [ - (f"**{self.ctx.prefix}comp ``**", - "\nCompliment a person in the server", True), - (f"**{self.ctx.prefix}8ball ``**", - "\nAsk a question and 8ball will give a custom response", True), - (f"**{self.ctx.prefix}homies ``**", - "\nGenerates homies meme with given text", True), - (f"**{self.ctx.prefix}owo ``**", - "\nTranslates given text to 'owo' format", True), - (f"**{self.ctx.prefix}flip**", - "\nDoes a coinflip with big pp Or smol pp", True), - (f"**{self.ctx.prefix}doggo**", - "\nLook at images of Doggos", True)] - - # Setting up the embed for the Fun Commands - interactive = Embed(title="(っ◔◡◔)っ Interactive (っ◔◡◔)っ", - colour=enso_embedmod_colours, - timestamp=datetime.datetime.utcnow()) - - # Setting thumbnail and author - interactive.set_thumbnail(url=guild_icon) - - # Setting up the fields in a separate array - interactive_fields = [ - (f"**{self.ctx.prefix}hug ``**", - "\nHug a User Within The Server", True), - (f"**{self.ctx.prefix}cuddle ``**", - "\nCuddle a User Within The Server", True), - (f"**{self.ctx.prefix}pat ``**", - "\nPat a User Within The Server", True), - (f"**{self.ctx.prefix}kiss ``**", - "\nKiss a User Within The Server", True), - (f"**{self.ctx.prefix}lemon ``**", - "\nGive lemon to a User Within The Server", True)] - - # Setting up the embed for the Fun Commands - interactive_2 = Embed(title="(っ◔◡◔)っ Interactive 2 (っ◔◡◔)っ", - colour=enso_embedmod_colours, - timestamp=datetime.datetime.utcnow()) - - # Setting thumbnail and author - interactive_2.set_thumbnail(url=guild_icon) - - # Setting up the fields in a separate array - interactive_fields_2 = [ - (f"**{self.ctx.prefix}slap ``**", - "\nSlap a User Within The Server", True), - (f"**{self.ctx.prefix}kill ``**", - "\nKill a User Within The Server", True), - (f"**{self.ctx.prefix}choke ``**", - "\nChoke a User Within The Server", True)] - - # Setting up the embed for Relationship commands - relationship = Embed(title="(っ◔◡◔)っ Relationship (っ◔◡◔)っ", - colour=enso_embedmod_colours, - timestamp=datetime.datetime.utcnow()) - - # Setting thumbnail and author - relationship.set_thumbnail(url=guild_icon) - - # Setting up the fields in a separate array - relationship_fields = [ - (f"**{self.ctx.prefix}marry ``**", - "\nMarry a User Within The Server", True), - (f"**{self.ctx.prefix}divorce ``**", - "\nDivorce The Person You Are Married To", False), - (f"**{self.ctx.prefix}minfo ``**", - "\nDisplays information about the user's current marriage" + - f"\nUsing **{self.ctx.prefix}minfo** by itself will retrieve your marriage information", True)] - - # Setting up the Embed for the Enso commands - enso = Embed(title="(っ◔◡◔)っ Enso (っ◔◡◔)っ", - colour=enso_embedmod_colours, - timestamp=datetime.datetime.utcnow()) - - # Setting thumbnail and author - enso.set_thumbnail(url=guild_icon) - - # Setting up the fields in a separate array - enso_fields = [ - (f"**{self.ctx.prefix}enso ``**", - "\nShows Specified Image of User" + - f"\n(Using **{self.ctx.prefix}enso** by itself shows random image of users in the server)", - True), - (f"**{self.ctx.prefix}enso `list`**", - "\nReturns all Users", False), - (f"**{self.ctx.prefix}rules**", - "\nFull ruleset for Enso", True), - (f"**{self.ctx.prefix}roles**", - "\nLeveling and xp system in Enso", True), - ] - - # Setting up the embed for the Waifu/Husbandos - waifu_and_husbando = Embed(title="(っ◔◡◔)っ Waifu/Husbando Commands (っ◔◡◔)っ", - colour=enso_embedmod_colours, - timestamp=datetime.datetime.utcnow()) - - # Setting thumbnail and author - waifu_and_husbando.set_thumbnail(url=guild_icon) - - # Setting up the fields in a separate array - waifu_and_husbando_fields = [ - (f"**{self.ctx.prefix}w ``**", - "\nShows Specified Image of Waifu" + - f"\n(Using **{self.ctx.prefix}w** shows random image of Waifu)", True), - (f"**{self.ctx.prefix}h ``**", - "\nShows Specified Image of Husbando" + - f"\n(Using **{self.ctx.prefix}h** shows random image of Husbando)", False), - (f"**{self.ctx.prefix}w `list`**", - "\nReturns all Waifus", True), - (f"**{self.ctx.prefix}h `list`**", - "\nReturns all Husbandos", True)] - - # Setting up the embed for the Important Commands - important = Embed(title="(っ◔◡◔)っ Important (っ◔◡◔)っ", - colour=enso_embedmod_colours, - timestamp=datetime.datetime.utcnow()) - - # Setting thumbnail and author - important.set_thumbnail(url=guild_icon) - - # Setting up the fields in a separate array - important_fields = [ - (f"**{self.ctx.prefix}userinfo**", - "\nReturns information about the user", True), - (f"**{self.ctx.prefix}serverinfo**", - "\nReturns information about the server", True), - (f"**{self.ctx.prefix}prefix ``**", - "\nView current prefix/Update current prefix", True), - (f"**{self.ctx.prefix}help**", - "\nSee every command in the bot", True)] - - # Setting up the embed for modmail - modmail = Embed(title="(っ◔◡◔)っ ModMail (っ◔◡◔)っ", - colour=enso_embedmod_colours, - timestamp=datetime.datetime.utcnow()) - - # Setting thumbnail and author - modmail.set_thumbnail(url=guild_icon) - - # Setting up the fields in a separate array - modmail_fields = [(f"**{self.ctx.prefix}modmail setup ``**", - "Sets up the modmail system in the guild," - "channelID given will be the channel that the user will interact with", False), - (f"**{self.ctx.prefix}modmail update ``**", - "Updates the channel that the modmail will be sent to", False), - (f"**{self.ctx.prefix}modmail delete modmail**", - "Existing modmail system will be deleted", False)] - - # Setting up the Embed for the Miscellaneous commands - msc = Embed(title="(っ◔◡◔)っ Misc (っ◔◡◔)っ", - colour=enso_embedmod_colours, - timestamp=datetime.datetime.utcnow()) - - # Setting thumbnail and author - msc.set_thumbnail(url=guild_icon) - - # Setting up the fields in a separate array - msc_fields = [(f"**{self.ctx.prefix}dm ``**", - f"\nFor admins to DM Users" + - "\n**(Perms: Co-Owner)**", True), - (f"**{self.ctx.prefix}remindme `