I want to create a Discord bot that pings a certain user role when an embedded message contains a certain keyword. To avoid ping spam when multiple embedded messages with the keyword are posted, I would like the bot to ping once, then pause for X seconds and then if there's a new message, react to that and then repeat the process.
In python, you have to import the Time module, then use time.sleep().
import time
time.sleep(x amount of seconds)
How to pause on_message for a certain amount of time after it reacts to a message (Discord Py)?