【发布时间】:2018-03-18 13:43:09
【问题描述】:
如果有人写“?name (arg)”,我希望我的机器人说出消息的作者+“,你的名字是”+ arg。 我找不到该消息的作者。
@client.command()
async def name(their_name):
await client.say("{0}, your name is {1}.".format("""author of the message goes here""", their_name))
【问题讨论】:
标签: python discord discord.py