import datetime from discord import Embed from discord.ext import commands, menus from discord.ext.commands import command from settings import enso_embedmod_colours, ensoMention, hammyMention # Function to allow pages 1-4 of the help commands (Fun Commands) def fun_function(self, guild_icon): # Setting up the Embed for the Fun Commands fun_commands = Embed(title="(っ◔◡◔)っ Fun Commands (っ◔◡◔)っ", colour=enso_embedmod_colours, timestamp=datetime.datetime.utcnow()) # Setting thumbnail and author fun_commands.set_thumbnail(url=guild_icon) # Setting up the fields in a separate array fun_fields = [ (f"**{self.ctx.prefix}attack ``**", "\nThrow an insult to a person in the server" + "\n **(Perms: Co-Owner)**", True), (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}flip**", "\nDoes a coinflip with Big PP Or Smol PP", True), (f"**{self.ctx.prefix}doggo**", "\nLook at images of Doggos", True), (f"**{self.ctx.prefix}homies ``**", "\nGenerates Homies Meme with given text", True)] # Setting up the Embed for the Fun Commands fun_commands_2 = Embed(title="(っ◔◡◔)っ Fun Commands 2 (っ◔◡◔)っ", colour=enso_embedmod_colours, timestamp=datetime.datetime.utcnow()) # Setting thumbnail and author fun_commands_2.set_thumbnail(url=guild_icon) # Setting up the fields in a separate array fun_fields_2 = [ (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 fun_commands_3 = Embed(title="(っ◔◡◔)っ Fun Commands 3 (っ◔◡◔)っ", colour=enso_embedmod_colours, timestamp=datetime.datetime.utcnow()) # Setting thumbnail and author fun_commands_3.set_thumbnail(url=guild_icon) # Setting up the fields in a separate array fun_fields_3 = [ (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 the Fun Commands fun_commands_4 = Embed(title="(っ◔◡◔)っ Marriage/Divorce (っ◔◡◔)っ", colour=enso_embedmod_colours, timestamp=datetime.datetime.utcnow()) # Setting thumbnail and author fun_commands_4.set_thumbnail(url=guild_icon) # Setting up the fields in a separate array fun_fields_4 = [ (f"**{self.ctx.prefix}marry ``**", "\nMarry a User Within The Server", True), (f"**{self.ctx.prefix}divorce ``**", "\nDivorce The Person You Are Married To", True)] # Add the fun_commands fields to the embed for name, value, inline in fun_fields: fun_commands.add_field(name=name, value=value, inline=inline) # Add the fun_commands_2 fields to the embed for name, value, inline in fun_fields_2: fun_commands_2.add_field(name=name, value=value, inline=inline) # Add the fun_commands_3 fields to the embed for name, value, inline in fun_fields_3: fun_commands_3.add_field(name=name, value=value, inline=inline) # Add the fun_commands_4 fields to the embed for name, value, inline in fun_fields_4: fun_commands_4.add_field(name=name, value=value, inline=inline) return fun_commands, fun_commands_2, fun_commands_3, fun_commands_4 # Function to allow the second page of the help commands (Waifu/Husbandos) def waifu_husbando_function(self, guild_icon): # Setting up the Embed for the Waifu/Husbandos waifu_husbando_commands = Embed(title="(っ◔◡◔)っ Waifus/Husbando Commands (っ◔◡◔)っ", colour=enso_embedmod_colours, timestamp=datetime.datetime.utcnow()) # Setting thumbnail and author waifu_husbando_commands.set_thumbnail(url=guild_icon) # Setting up the fields in a separate array waifu_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", True), (f"**{self.ctx.prefix}w `list`**", "\nReturns all Waifus", True), (f"**{self.ctx.prefix}h `list`**", "\nReturns all Husbandos", True)] # Add the waifu_husbando_commands fields to the embed for name, value, inline in waifu_husbando_fields: waifu_husbando_commands.add_field(name=name, value=value, inline=inline) return waifu_husbando_commands # Function to allow the fifth page of the help commands (~enso commands) def _enso(self, guild_icon): # Setting up the Embed for the ~Enso command _enso_commands = Embed(title="(っ◔◡◔)っ Enso Command (っ◔◡◔)っ", colour=enso_embedmod_colours, timestamp=datetime.datetime.utcnow()) # Setting thumbnail and author _enso_commands.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 shall generate a random image of a person within all the server)", True), (f"**{self.ctx.prefix}enso `list`**", "\nReturns all Users", True)] # Add the _enso_commands fields to the embed for name, value, inline in _enso_fields: _enso_commands.add_field(name=name, value=value, inline=inline) return _enso_commands # Function to allow the third page of the help commands (Miscellaneous) def misc_function(self, guild_icon): # Setting up the Embed for the Miscellaneous commands misc_commands = Embed(title="(っ◔◡◔)っ Misc Commands (っ◔◡◔)っ", colour=enso_embedmod_colours, timestamp=datetime.datetime.utcnow()) # Setting thumbnail and author misc_commands.set_thumbnail(url=guild_icon) # Setting up the fields in a separate array misc_fields = [ (f"**{self.ctx.prefix}ping**", "\nReturns latency in ms" + "\n**(Perms: Co-Owner)**", True), (f"**{self.ctx.prefix}rolemenu**", "\nShowing Users Self Roles" + "\n**(Perms: Co-Owner)**", True), (f"**{self.ctx.prefix}dm ``**", f"\nFor {hammyMention} to DM Users" + "\n**(Perms: Co-Owner)**", True), (f"**{self.ctx.prefix}remindme `