【发布时间】:2021-08-28 23:08:30
【问题描述】:
我可以很容易地通过 webhook 向我的 discord 频道发送消息,但是,考虑到我的编程仍然很琐碎,尝试对消息添加反应时非常困难。
我现在的代码行是:
data_count=1
webhook.send(content=discord.Reaction(message="test", data=data_count, emoji="????"), file=discord.File("american_eagle_excited.gif"), embed=discord.Embed(title="Sample Embed", description="This is the description"))
一切,当我分解参数时,除了 discord.Reaction 类之外,我还可以开始工作。我觉得我很容易错过一些东西,在尝试通读课程要求后,我不得不最终进入 StackOverflow。
【问题讨论】:
标签: discord discord.py