add set as an alias
This commit is contained in:
parent
7dfb910667
commit
94f43336f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue