add set as an alias

This commit is contained in:
yuki 2025-10-08 00:36:29 -03:00
parent 7dfb910667
commit 94f43336f7

View file

@ -4,7 +4,7 @@ import bot
import utils as u import utils as u
def setup(bot: bot.Bot): def setup(bot: bot.Bot):
@bot.command(name="setfm", aliases=["setuser", "setlastfm"]) @bot.command(name="setfm", aliases=["set", "setuser", "setlastfm"])
@bot.slash_command(name="setfm", description="Sets your Last.fm username.") @bot.slash_command(name="setfm", description="Sets your Last.fm username.")
async def setfm(ctx: nerimity.Context, username: str = None): async def setfm(ctx: nerimity.Context, username: str = None):
if not username: if not username: