Fixing more wrong method invocations

This commit is contained in:
Mint 2022-07-05 00:31:23 +03:00
parent c8e12abb57
commit 897499c3e6

View file

@ -74,7 +74,7 @@ class ReplyBot:
@staticmethod
def extract_toot(toot):
text = utils.extract_toot(toot)
text = utils.extract_post_content(toot)
text = re.sub(r"^@\S+\s", r"", text) # remove the initial mention
text = text.lower() # treat text as lowercase for easier keyword matching (if this bot uses it)
return text