📜  discord py 消息链接 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:47.786000             🧑  作者: Mango

代码示例1
link = 'https://discordapp.com/channels/guild_id/channel_id/message_id'.split('/')
message = await self.bot.get_guild(int(link[-3])).get_channel(int(link[-2])).fetch_message(int(link[-1]))