📜  discord.py 按名称查找用户 - Python 代码示例
📅  最后修改于: 2022-03-11 14:47:08.277000             🧑  作者: Mango
代码示例3
import discord.utils
# within a command
user = discord.utils.get(ctx.guild.members, name='Username')