mirror of
https://git.kiwifarms.net/mint/ebooks.git
synced 2024-10-23 01:19:05 +00:00
Fixing more wrong method invocations
This commit is contained in:
parent
c8e12abb57
commit
897499c3e6
1 changed files with 1 additions and 1 deletions
2
reply.py
2
reply.py
|
@ -74,7 +74,7 @@ class ReplyBot:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def extract_toot(toot):
|
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 = 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)
|
text = text.lower() # treat text as lowercase for easier keyword matching (if this bot uses it)
|
||||||
return text
|
return text
|
||||||
|
|
Loading…
Reference in a new issue