Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

discord.py aliases

@commands.command(name='test', aliases=['testcommand', 'testing'])
async def test(self, ctx):
    await ctx.send("This a test command")

#will run with either 'test, testcommand or testing
 
PREVIOUS NEXT
Tagged: #aliases
ADD COMMENT
Topic
Name
6+1 =