Add prefix to usage message

This commit is contained in:
Ske 2018-07-16 21:51:01 +02:00
parent c32f926f95
commit 1f00c8bf3b

View File

@ -148,7 +148,7 @@ def command(cmd, usage=None, description=None, category=None):
if not success and not msg:
# Failure, no message, print usage
usage_str = "**Usage:** {} {}".format(cmd, usage or "")
usage_str = "**Usage:** pk;{} {}".format(cmd, usage or "")
await client.send_message(message.channel, embed=make_default_embed(usage_str))
elif not success:
# Failure, print message