I have a command:
@bot.command(pass_context=True)
async def hellothere(ctx):
await Bot.say("Hello {}".format(ctx.message.author))
I want to make a copy of this command that is shorter.
I tried:
@bot.command(pass_context=True)
async def hello(ctx):
hellothere(ctx)
But I received an error stating that Command
is not callable.
Does anyone know how to do this?
@client.command(pass_context = True , aliases=['purge', 'clean', 'delete'])
Just change the aliases.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With