Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sockets/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 使用Discord bot,如何从另一个bot获取嵌入消息的字符串_Python_Bots_Embed_Message_Discord - Fatal编程技术网

Python 使用Discord bot,如何从另一个bot获取嵌入消息的字符串

Python 使用Discord bot,如何从另一个bot获取嵌入消息的字符串,python,bots,embed,message,discord,Python,Bots,Embed,Message,Discord,我正在创建一个Discord bot,它需要检查所有消息,以查看某个字符串是否位于任何其他Discord bot创建的嵌入消息中。我知道我可以使用message.content获取用户发送的消息的字符串,但如何使用Python中的bot Embeddes执行类似操作?使用message.embeddes获取嵌入字符串内容使用message.embeddes获取嵌入字符串内容

我正在创建一个Discord bot,它需要检查所有消息,以查看某个字符串是否位于任何其他Discord bot创建的嵌入消息中。我知道我可以使用
message.content
获取用户发送的消息的字符串,但如何使用Python中的bot Embeddes执行类似操作?

使用
message.embeddes
获取嵌入字符串内容

使用
message.embeddes
获取嵌入字符串内容