【发布时间】:2021-09-11 20:40:07
【问题描述】:
当我告诉它在频道中发送消息时,我的 python discord bot 不断出错
@client.command()
async def log(ctx, msg):
channel = client.get_channel(852610465871036416)
await channel.message.send(msg)
PS:现在修复了
【问题讨论】:
-
你在说哪些错误?只需使用
channel.send(msg)
标签: python discord discord.py bots