modify setfm error msg

This commit is contained in:
yuki 2025-10-07 03:36:26 -03:00
parent 4fa08e9e97
commit 0b52404731

View file

@ -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)