Answers for "discord.py alias"

0

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
Posted by: Guest on January-14-2021
0

discord python command alias

@commands.command(aliases=['testcommand', 'testing'])
async def test(self, ctx):
    await ctx.send("This a test command")
Posted by: Guest on July-08-2021

Python Answers by Framework

Browse Popular Code Answers by Language