diff --git a/reply.py b/reply.py index 6188af0..7334527 100755 --- a/reply.py +++ b/reply.py @@ -76,7 +76,7 @@ class ReplyBot: def extract_toot(toot): text = utils.extract_post_content(toot) text = re.sub(r"^@\S+\s", r"", text) # remove the initial mention - text = utils.remove_mentions(cfg, text) + text = utils.remove_mentions(self.cfg, text) text = text.lower() # treat text as lowercase for easier keyword matching (if this bot uses it) return text