ДА ПОШЁЛ ТЫ В ПИЗДУ
This commit is contained in:
@@ -18,7 +18,7 @@ GITHUB_RUN = os.environ["GITHUB_RUN_ID"]
|
||||
GITHUB_TOKEN = os.environ["GITHUB_TOKEN"]
|
||||
|
||||
# https://discord.com/developers/docs/resources/webhook
|
||||
DISCORD_SPLIT_LIMIT = 1500
|
||||
DISCORD_SPLIT_LIMIT = 2000
|
||||
DISCORD_WEBHOOK_URL = os.environ.get("DISCORD_WEBHOOK_URL")
|
||||
|
||||
CHANGELOG_FILE = "Resources/Changelog/ChangelogWhite.yml"
|
||||
@@ -103,7 +103,7 @@ def diff_changelog(old: dict[str, Any], cur: dict[str, Any]) -> Iterable[Changel
|
||||
Find all new entries not present in the previous publish.
|
||||
"""
|
||||
old_entry_ids = {e["id"] for e in old["Entries"]}
|
||||
return (e for e in cur["Entries"] if e["id"] not in old_entry_ids)
|
||||
return (e for e in cur["п»їEntries"] if e["id"] not in old_entry_ids)
|
||||
|
||||
|
||||
def get_discord_body(content: str):
|
||||
|
||||
Reference in New Issue
Block a user