haystack / YouPS

YouPS: An email automation tool that makes your email management easy! 😎
11 stars 5 forks source link

message.contains(KEYWORD) #166

Closed soyapark closed 5 years ago

soyapark commented 5 years ago

we should provide some sort of function that check if the content of the message contains a keyword

lukesmurray commented 5 years ago

sure just add this to message.py

    def contains(self, string):
        return string in self.content
lukesmurray commented 5 years ago

i merged this