【发布时间】:2018-05-14 16:04:13
【问题描述】:
我尝试了类似的方法,但它不起作用。
async def example(ctx):
await client.say("```python\n")
await client.say("print('Hello world!')\n")
await client.say("```")
您可以使用代码格式发送 Discord 消息。
但是如何在 python 中使用 discord API 做到这一点?
【问题讨论】:
标签: python python-3.x discord discord.py