📜  从消息 discord.py 中获取反应 - Python 代码示例

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

代码示例3
#Get reactions from cached msg
cache_msg = discord.utils.get(client.cached_messages, id=msg.id)
n_players = await cache_msg.reactions[0].users().flatten()
n_players = n_players[1:]