View Code? Open in Web Editor
NEW
A Discord bot to combat phishing links for Steam trades and Discord gifts.
Home Page: https://discord.com/oauth2/authorize?client_id=903114852631969802&scope=bot&permissions=2147871808
License: MIT License
delink-bot's People
Watchers
delink-bot's Issues
Here's a possible feature request:
Do a WHOIS lookup on a link and check the creation date. If the creation of the domain is too recent (maybe by hours/days), then blacklist it.
Could be something that's enabled by default or optional.
As the title says, you can fix it by utilizing the on_message_edit(before, after)
event. Here's the code which I think might solve this:
@bot.event
async def on_message_edit(before, after):
await on_message(after)