Skip to content

Commit c9e6115

Browse files
committed
Added prefix in help
1 parent 73e5b0c commit c9e6115

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hexbot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ async def help(ctx, arg: str=''):
101101

102102
if arg.strip().lower() == '-a':
103103
# Full version
104+
embed.description = 'My prefix is `~`'
104105
embed.add_field(name=":musical_note: Music Commands:", value="```equalizer - Use equalizer\nlyrics <song> - Get lyrics of the song\nnow|np - Displays now playing song\npause|resume - Pause/Resume current song\nplay|p <song> - Plays specified song\nqueue|q - Displays current queue\nremove <idx> - Remove song from queue\nrepeat - Enable/Disable repeat\nresume - Resumes the paused song\nseek - Seek current track\nsave|star - Save song to your DM\nshuffle - Enable/Disable shuffle\nskip - Skips current song\nstop|dis - Stops and disconnects bot\nvolume <val> - Changes the volume[1-1000]```", inline=False)
105106
embed.add_field(name=":stuck_out_tongue_winking_eye: Fun Commands:", value="```ai - Start AI chat\nadvice - Get some advice\nascii <link> - Get ascii art of user/img\nbored|suggest - Suggestion for boredom\nfilter - Apply filters to image\nfortune|quote - Fortune Cookie!\n <category>[factoid|fortune|people]\ntextart - Generate text art\nuselessweb - Get an useless website\nwallpaper - Get wallpaper```", inline=False)
106107
embed.add_field(name=":tools: Utility Commands:", value="```convert - Currency Converter\n <val><from><to>\nencode <txt> - Encode and style the text\nlist - Displays the list of\n voice connected users\npalette <hex> - Get color palette\npokedex - Get Pokémon info\nrhyme <word> - Get rhyming words\ntrace <ip> - Locate IP address\ntranslate - Translate the text\n <id><txt>\nserver <serv> - Get server info\nshorten|url - Shorten an URL\nuser @user - Get user info\nweather <loc> - Get weather of location\nwordinfo - Get word info```", inline=False)
@@ -109,7 +110,7 @@ async def help(ctx, arg: str=''):
109110
embed.add_field(name=":gear: Misc Commands:", value="```clear|cls - Delete the messages\nhelp - Display this message\nping|latency - Pong!\nsupport - Contact Bot owner```", inline=False)
110111
else:
111112
# Short version
112-
embed.description = 'Type `~help -a` for detailed help.'
113+
embed.description = 'My prefix is `~`\nType `~help -a` for detailed help.'
113114
embed.add_field(name=":musical_note: Music:", value="`equalizer`, `lyrics`, `now`, `pause`, `p`, `play`, `queue`, `remove`, `repeat`, `resume`, `seek`, `save`, `shuffle`, `skip`, `stop`, `volume`")
114115
embed.add_field(name=":stuck_out_tongue_winking_eye: Fun:", value="`ai`, `advice`, `ascii`, `bored`, `filter`, `fortune`, `quote`, `textart`, `uselessweb`, `wallpaper`")
115116
embed.add_field(name=":tools: Utility:", value="`convert`, `encode`, `list`, `palette`, `pokedex`, `rhyme`, `trace`, `translate`, `server`, `shorten`, `user`, `weather`, `wordinfo`")

0 commit comments

Comments
 (0)