Reformatting the Help Embed

pull/4/head
sgoudham 4 years ago
parent a32eacc05f
commit bb7b0ce634

@ -2,7 +2,7 @@ from discord import Embed
from discord.ext import commands, menus from discord.ext import commands, menus
from discord.ext.commands import command from discord.ext.commands import command
from settings import blank_space, enso_embedmod_colours, time, ensoMention from settings import blank_space, enso_embedmod_colours, time, ensoMention, hammyMention
# Function to allow the first page of the help commands (Fun Commands) # Function to allow the first page of the help commands (Fun Commands)
@ -19,19 +19,15 @@ def fun_function(self, guild_icon):
fun_fields = [ fun_fields = [
(blank_space, f"`{self.ctx.prefix}attack [person]`" + (blank_space, f"`{self.ctx.prefix}attack [person]`" +
"\nThrow an insult to a person in the server" + "\nThrow an insult to a person in the server" +
"\n *(Perms: Co-Owner)*", True), "\n **(Perms: Co-Owner)**", True),
(blank_space, f"`{self.ctx.prefix}comp [person]`" + (blank_space, f"`{self.ctx.prefix}comp [person]`" +
"\nCompliment a person in the server" + "\nCompliment a person in the server", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}8ball [text]`" + (blank_space, f"`{self.ctx.prefix}8ball [text]`" +
"\nAsk a question and 8ball will give a custom response" + "\nAsk a question and 8ball will give a custom response", True),
"\n *(Perms: everyone)*", True),
(blank_space, f"`{self.ctx.prefix}flip`" + (blank_space, f"`{self.ctx.prefix}flip`" +
"\nDoes A coinflip with Big PP Or Smol PP" + "\nDoes A coinflip with Big PP Or Smol PP", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}doggo`" + (blank_space, f"`{self.ctx.prefix}doggo`" +
"\nLook at images of Doggos" + "\nLook at images of Doggos", True)]
"\n *(Perms: Everyone)*", True)]
# Setting up the Embed for the Fun Commands # Setting up the Embed for the Fun Commands
fun_commands_2 = Embed(title="```(っ◔◡◔)っ Fun Commands 2 (っ◔◡◔)っ```", fun_commands_2 = Embed(title="```(っ◔◡◔)っ Fun Commands 2 (っ◔◡◔)っ```",
@ -44,29 +40,21 @@ def fun_function(self, guild_icon):
# Setting up the fields in a separate array # Setting up the fields in a separate array
fun_fields_2 = [ fun_fields_2 = [
(blank_space, f"`{self.ctx.prefix}hug [person]`" + (blank_space, f"`{self.ctx.prefix}hug [person]`" +
"\nHug A User Within The Server" + "\nHug A User Within The Server", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}cuddle [person]`" + (blank_space, f"`{self.ctx.prefix}cuddle [person]`" +
"\nCuddle A User Within The Server" + "\nCuddle A User Within The Server", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}pat [person]`" + (blank_space, f"`{self.ctx.prefix}pat [person]`" +
"\nPat A User Within The Server" + "\nPat A User Within The Server", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}kiss [person]`" + (blank_space, f"`{self.ctx.prefix}kiss [person]`" +
"\nKiss A User Within The Serverr" + "\nKiss A User Within The Serverr", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}slap [person]`" + (blank_space, f"`{self.ctx.prefix}slap [person]`" +
"\nSlap A User Within The Server" + "\nSlap A User Within The Server", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}kill [person]`" + (blank_space, f"`{self.ctx.prefix}kill [person]`" +
"\nKill A User Within The Server" + "\nKill A User Within The Server", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}choke [person]`" + (blank_space, f"`{self.ctx.prefix}choke [person]`" +
"\nChoke A User Within The Server" + "\nChoke A User Within The Server", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}lemon [person]`" + (blank_space, f"`{self.ctx.prefix}lemon [person]`" +
"\nGive lemon to A User Within The Server" + "\nGive lemon to A User Within The Server", True)]
"\n *(Perms: Everyone)*", True)]
# Add the fun_commands fields to the embed # Add the fun_commands fields to the embed
for name, value, inline in fun_fields: for name, value, inline in fun_fields:
@ -93,25 +81,20 @@ def waifu_husbando_function(self, guild_icon):
waifu_husbando_fields = [ waifu_husbando_fields = [
(blank_space, f"`{self.ctx.prefix}w [waifu]`" + (blank_space, f"`{self.ctx.prefix}w [waifu]`" +
"\n Allows for a image of the Waifu specified to be shown" + "\n Allows for a image of the Waifu specified to be shown" +
f"\n (Using {self.ctx.prefix}w by itself shall randomly generated image of a Waifu to be shown)" + f"\n (Using {self.ctx.prefix}w by itself shall randomly generated image of a Waifu to be shown)", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}h [husbando]`" + (blank_space, f"`{self.ctx.prefix}h [husbando]`" +
"\n Allows for a image of a Husbando specified to be shown" + "\n Allows for a image of a Husbando specified to be shown" +
f"\n (Using {self.ctx.prefix}h by itself shall randomly generated image of a Husbando to be shown)" + f"\n (Using {self.ctx.prefix}h by itself shall randomly generated image of a Husbando to be shown)", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}w list`" + (blank_space, f"`{self.ctx.prefix}w list`" +
"\n Returns a list of Waifu's that are in the bot " + "\n Returns a list of Waifu's that are in the bot ", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}h list`" + (blank_space, f"`{self.ctx.prefix}h list`" +
"\n Returns a list of Husbando's that are in the bot " + "\n Returns a list of Husbando's that are in the bot ", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}enso [person]`" + (blank_space, f"`{self.ctx.prefix}enso [person]`" +
"\n Allows for a randomly generated image of the member specified" + "\n Allows for a randomly generated image of the member specified" +
f"\n (Using {self.ctx.prefix}enso by itself shall generate a random image of a person within all the server)" + f"\n (Using {self.ctx.prefix}enso by itself shall generate a random image of a person within all the server)",
"\n *(Perms: Everyone)*", True), True),
(blank_space, f"`{self.ctx.prefix}enso list`" + (blank_space, f"`{self.ctx.prefix}enso list`" +
"\n Returns a list of the people's images currently in the bot" + "\n Returns a list of the people's images currently in the bot", True)]
"\n *(Perms: Everyone)*", True)]
# Add the waifu_husbando_commands fields to the embed # Add the waifu_husbando_commands fields to the embed
for name, value, inline in waifu_husbando_fields: for name, value, inline in waifu_husbando_fields:
@ -133,17 +116,16 @@ def misc_function(self, guild_icon):
# Setting up the fields in a separate array # Setting up the fields in a separate array
misc_fields = [ misc_fields = [
(blank_space, f"`{self.ctx.prefix}ping`" + (blank_space, f"`{self.ctx.prefix}ping`" +
"\n Returns latency in ms" + "\nReturns latency in ms" +
"\n *(Perms: Co-Owner)*", True), "\n**(Perms: Co-Owner)**", True),
(blank_space, f"`{self.ctx.prefix}rolemenu`" + (blank_space, f"`{self.ctx.prefix}rolemenu`" +
"\n Allows for the users to get self ping-able roles" + "\nShowing Users Self Roles" +
"\n *(Perms: Co-Owner)*", True), "\n**(Perms: Co-Owner)**", True),
(blank_space, f"`{self.ctx.prefix}dm [person]`" + (blank_space, f"`{self.ctx.prefix}dm [person]`" +
"\n Allows Hammy to dm anyone in the server through Enso~Chan!" + f"\nFor {hammyMention} to DM Users" +
"\n *(Perms: Co-Owner)*", True), "\n**(Perms: Co-Owner)**", True),
(blank_space, f"`{self.ctx.prefix}remindme [time] [text]`" + (blank_space, f"`{self.ctx.prefix}remindme [time] [text]`" +
"\n Allows the user to get Enso~Chan to remind them in dms" + "\nGet Enso~Chan to remind you in DMs", True)]
"\n *(Perms: Everyone)*", True)]
# Add the misc_commands fields to the embed # Add the misc_commands fields to the embed
for name, value, inline in misc_fields: for name, value, inline in misc_fields:
@ -165,24 +147,18 @@ def important_function(self, guild_icon):
# Setting up the fields in a separate array # Setting up the fields in a separate array
important_fields = [ important_fields = [
(blank_space, f"`{self.ctx.prefix}userinfo`" + (blank_space, f"`{self.ctx.prefix}userinfo`" +
"\n Returns information about the user" + "\n Returns information about the user", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}serverinfo`" + (blank_space, f"`{self.ctx.prefix}serverinfo`" +
"\n Returns information about the server" + "\n Returns information about the server", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}rules`" + (blank_space, f"`{self.ctx.prefix}rules`" +
"\n Returns the entire ruleset for the server" + "\nFull Ruleset for Enso", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}roles`" + (blank_space, f"`{self.ctx.prefix}roles`" +
"\n Shows you how the leveling and xp system works" + "\nLeveling and xp system in Enso", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}help`" + (blank_space, f"`{self.ctx.prefix}help`" +
"\n Allows you to see every command in the bot" + "\nSee every command in the bot", True),
"\n *(Perms: Everyone)*", True),
(blank_space, f"`{self.ctx.prefix}mm/modmail`" + (blank_space, f"`{self.ctx.prefix}mm/modmail`" +
"\nAllows you to send mail to the staff team!" + "\nSend mail to the staff team!" +
f"\n(Done through the dms with {ensoMention})" + f"\n(Done through the dms with {ensoMention})", True)]
"\n *(Perms: Everyone)*", True)]
# Add the important_fields to the embed # Add the important_fields to the embed
for name, value, inline in important_fields: for name, value, inline in important_fields:

Loading…
Cancel
Save