【发布时间】:2020-08-17 00:23:45
【问题描述】:
当它从 webhook/bot/embed 获取消息内容时,它总是会发送一个空白行/空格,我想知道我的 discord bot 是否有可能看到这些 webhook/bot/embed 的内容.
import discord
client = discord.Client()
@client.event
async def on_ready():
print('Logged in as {0.user}'.format(client))
@client.event
async def on_message(message):
if message.author.bot == True:
print(message.content)
【问题讨论】:
-
你发现了吗?试图让一个 webhook 与我的机器人通信,但它根本没有接收到它。
-
我不认为机器人能够看到嵌入,可能你可以做的是使用你自己帐户或第二个帐户的不和谐令牌并使用它来查看嵌入的消息。这将需要一些逆向工程并查看页面请求并尝试复制 api。