Nice-ify help command

master
michael 2020-05-09 12:50:51 -07:00
parent 6a9d78b325
commit 5d21b16a4f
1 changed files with 17 additions and 17 deletions

34
bot.py
View File

@ -77,17 +77,17 @@ async def on_ready():
@bot.command(aliases=['manual', 'commands', 'info']) @bot.command(aliases=['manual', 'commands', 'info'])
async def help(ctx): async def help(ctx):
embed = discord.Embed(title="Comrade: Usage & Other Info") embed = discord.Embed(title="Comrade: Usage & Other Info")
embed.add_field( embed.add_field(inline=False,
name=">>addEmote <emoji name>", name="`>>addEmote` <emoji name> [ATTACHED IMAGE]",
value= value=
"""Vote to add a new emoji. """Vote to add a new emoji, attached as JPEG, PNG or GIF image.
Vote time: {0} minutes Vote time: {0} minutes
Minimum Voters: {1} Minimum Voters: {1}
""".format(int(EMOTE_VOTE_TIME/60), MIN_EMOTE_VOTERS) """.format(int(EMOTE_VOTE_TIME/60), MIN_EMOTE_VOTERS)
) )
embed.add_field( embed.add_field(inline=False,
name=">>mute <user>", name="`>>mute` <user>",
value= value=
"""Vote to mute user for {0} minutes. """Vote to mute user for {0} minutes.
Vote time: {1} minutes Vote time: {1} minutes
@ -95,8 +95,8 @@ async def help(ctx):
""".format(int(MUTE_TIME/60), int(MUTE_VOTE_TIME/60), MIN_MUTE_VOTERS) """.format(int(MUTE_TIME/60), int(MUTE_VOTE_TIME/60), MIN_MUTE_VOTERS)
) )
embed.add_field( embed.add_field(inline=False,
name=">>kick <user>", name="`>>kick` <user>",
value= value=
"""Vote to kick user. """Vote to kick user.
Vote Time: {0} minutes Vote Time: {0} minutes
@ -104,8 +104,8 @@ async def help(ctx):
""".format(int(KICK_VOTE_TIME/60), MIN_KICK_VOTERS) """.format(int(KICK_VOTE_TIME/60), MIN_KICK_VOTERS)
) )
embed.add_field( embed.add_field(inline=False,
name=">>ban <user>", name="`>>ban` <user>",
value= value=
"""Vote to ban user. """Vote to ban user.
Vote Time: {0} minutes Vote Time: {0} minutes
@ -113,27 +113,27 @@ async def help(ctx):
""".format(int(BAN_VOTE_TIME/60), MIN_BAN_VOTERS) """.format(int(BAN_VOTE_TIME/60), MIN_BAN_VOTERS)
) )
embed.add_field( embed.add_field(inline=False,
name=">>shibe", name="`>>shibe`",
value="Random shibe :dog: :eyes:" value="Random shibe :dog: :eyes:"
) )
embed.add_field( embed.add_field(inline=False,
name=">>birb", name="`>>birb`",
value="Random birb :bird: :hatching_chick:" value="Random birb :bird: :hatching_chick:"
) )
embed.add_field( embed.add_field(inline=False,
name=">>ping", name="`>>ping`",
value="Get bot latency." value="Get bot latency."
) )
embed.add_field( embed.add_field(inline=False,
name="Enjoying Comrade?", name="Enjoying Comrade?",
value="[Upvote Comrade on Discord Bot List!](https://top.gg/bot/592852914553487370/vote)" value="[Upvote Comrade on Discord Bot List!](https://top.gg/bot/592852914553487370/vote)"
) )
embed.add_field( embed.add_field(inline=False,
name="Need help?", name="Need help?",
value="[Report an issue](https://github.com/turtlebasket/comrade-bot/issues)" value="[Report an issue](https://github.com/turtlebasket/comrade-bot/issues)"
) )