read other bots embeds with discord.py

Question:

how do we do this in python? reading other bot embed in js.. i wanna do the exact same thing but i have no clue, could not find any docs which mention reading other bot’s embed.. any help is appreciated please.

if (message.embeds.length == 1) {
      const embed = message.embeds[0]
      if (embed.title.includes("IT'S RAINING COINS")) {

the above code is in javascript, i’m tryna do this in python

Asked By: crazy cat

||

Answers:

I would advise you to read documentation then, given a discord.Message object, this would roughly be the equivalent:

if len(message.embeds) == 1:
   embed = message.embeds[0]
   if "IT'S RAINING COINS" in embed.title:
      pass
Answered By: Leg3ndary