擅长:python、mysql、java
<p>您需要连接到discord API才能在事件中发送消息。信息可以在<a href="https://discordapp.com/developers/docs/intro" rel="nofollow noreferrer">here</a>和<a href="https://github.com/discordapp/discord-api-docs" rel="nofollow noreferrer">here</a>中找到。你知道吗</p>
<p>值得注意的是,discord python库目前仅与python3.6兼容,因此您必须运行</p>
<pre><code>pip install -U discord.py
</code></pre>
<p>在Python3.6而不是Python3.7上。你知道吗</p>