📜  如何在 discord.py 上获取作者 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:55.378000             🧑  作者: Mango

代码示例1
ctx.author #Gets the author of a command
ctx.author.id #Gets the Discord ID of the author of a command