Make use of actual method call

This commit is contained in:
Alexander Dörflinger
2025-12-16 11:44:18 +01:00
parent f2c59eb89e
commit 0d7ea00d42

View File

@@ -386,7 +386,7 @@ class ChristmasBot:
print("New user, add comment") print("New user, add comment")
self.db.add_commented_user(target.lower()) self.db.add_commented_user(target.lower())
submission = self.reddit.submission(id=config.master_post_id) submission = self.reddit.submission(id=config.master_post_id)
submission.add_comment(config.comment_base_text.format(username=target.lower())) submission.reply(config.comment_base_text.format(username=target.lower()))
if state == "CONFIRM_REPLACE": if state == "CONFIRM_REPLACE":
message.reply(f"✅ Your wish for u/{target.lower()} has been **updated**! 🎄") message.reply(f"✅ Your wish for u/{target.lower()} has been **updated**! 🎄")