是否有类似 onFiredRequestAccepted 的东西?
Is there something like onFirendRequestAccepted?
我开始通过 discord.py 模块使用 discord API。我已经浏览过文档,但我没有找到这样的东西。
所以,问题是:
是否有像 onFirendRequestAccepted
这样的事件触发器,当有人接受您的好友请求时运行该功能?
重写分支包含on_relationship_add
、on_relationship_remove
和on_relationship_update
。
http://discordpy.readthedocs.io/en/rewrite/api.html?highlight=friend#discord.on_relationship_add
我开始通过 discord.py 模块使用 discord API。我已经浏览过文档,但我没有找到这样的东西。
所以,问题是:
是否有像 onFirendRequestAccepted
这样的事件触发器,当有人接受您的好友请求时运行该功能?
重写分支包含on_relationship_add
、on_relationship_remove
和on_relationship_update
。
http://discordpy.readthedocs.io/en/rewrite/api.html?highlight=friend#discord.on_relationship_add