title: How do I listen for new chat messages in text channels using a discord bot in python?
body: <p>I've designed a system to loop through all the channels and check to see if the last few messages are the same as they were at the previous check, but that's slow and unnecessary. If there's any way to do it through a function, or a simpler, faster way, let me know. Thanks!</p>