Making it look nicer on the backend

pull/9/head
sgoudham 4 years ago
parent e6cca75f39
commit c7c31a53d1

@ -623,8 +623,6 @@ def error_handling(self, author):
class Help(Cog): class Help(Cog):
"""Help Commands!""" """Help Commands!"""
# TODO: ADD A PREFIX COMMAND THAT OVERRIDES PERMISSIONS
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
@ -668,8 +666,8 @@ class Help(Cog):
# if no prefix was provided # if no prefix was provided
elif not new: elif not new:
# Grab the current prefix for the guild within the cached dictionary # Grab the current prefix for the guild within the cached dictionary
await self.bot.generate_embed(ctx, prefix = self.bot.get_prefix_for_guild(ctx.guild.id)
desc=f"**The current guild prefix is `{self.bot.get_prefix_for_guild(ctx.guild.id)}`**") await self.bot.generate_embed(ctx, desc=f"**The current guild prefix is `{prefix}`**")
@command(name="prefix") @command(name="prefix")
@guild_only() @guild_only()
@ -689,8 +687,8 @@ class Help(Cog):
# if no prefix was provided # if no prefix was provided
elif not new: elif not new:
# Grab the current prefix for the guild within the cached dictionary # Grab the current prefix for the guild within the cached dictionary
await self.bot.generate_embed(ctx, prefix = self.bot.get_prefix_for_guild(ctx.guild.id)
desc=f"**The current guild prefix is `{self.bot.get_prefix_for_guild(ctx.guild.id)}`**") await self.bot.generate_embed(ctx, desc=f"**The current guild prefix is `{prefix}`**")
@command(name="support") @command(name="support")
async def support(self, ctx): async def support(self, ctx):

Loading…
Cancel
Save