added full language support for python & fixed reddut "add_post" cmd.

This commit is contained in:
2025-06-19 10:06:39 +02:00
parent fcf95dd9eb
commit 2c797ad69d
6 changed files with 26 additions and 15 deletions
+2
View File
@@ -144,6 +144,8 @@ def add_post_to_data(bot: botPy.Bot, new_data: PostData, bypass_conditions: bool
new_data.removed = False
new_data.removed_by = None
new_data.removed_reason = None
if bot.args["dev"]: py_print(f"Un-removed post \"{new_data.url}\"")
return True
if bypass_conditions:
bot.data[botPy.RE_DATA_POSTS][new_data.url] = new_data.to_json()