modify setfm error msg
This commit is contained in:
parent
4fa08e9e97
commit
0b52404731
1 changed files with 2 additions and 1 deletions
|
|
@ -8,7 +8,8 @@ def setup(bot: bot.Bot):
|
|||
@bot.slash_command(name="setfm", description="Sets your Last.fm username.")
|
||||
async def setfm(ctx: nerimity.Context, username: str = None):
|
||||
if not username:
|
||||
await ctx.send(u.error_msg("Please provide your Last.fm username."))
|
||||
await ctx.send(u.error_msg("Please provide your Last.fm username.\n\
|
||||
usage: `/fm <your last.fm username>`"))
|
||||
else:
|
||||
try:
|
||||
await bot.set_lastfm(ctx.author.id, username)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue