I am currently trying to make an 'Anti Selfbot' Bot. I would like to do something good for the Discord Community. Therefore, I have tried to make an on_message
event that can detect if an Embed
contains 'selfbot', which would cause the message to get deleted and for the user to be banned.
I have already begun making my bot. However, I am not sure how to read the content of an Embed.
if 'selfbot' in message.content:
# do some stuff here
So, basically, the only problem I am having at the moment would be reading the embed title or description content.