From d11b9d93b42985fce5888d279bb535162c593876 Mon Sep 17 00:00:00 2001 From: Y-ellow <122377553+im-yellow@users.noreply.github.com> Date: Thu, 22 May 2025 15:45:53 +0100 Subject: [PATCH 1/3] Update updown.py --- plugins/utilities/updown.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/utilities/updown.py b/plugins/utilities/updown.py index b896815..2e1573b 100644 --- a/plugins/utilities/updown.py +++ b/plugins/utilities/updown.py @@ -39,12 +39,12 @@ class VeryPW(party.PartyWindow): def _p(s, i=0): print(s._chat_texts) + s._w1 = gcm() if s._f: s._o = tw(query=s._text_field) s._f = False - s._n = -1 - s._n = s._n + (1 if i else -1) - s._w1 = gcm() + s._n = 0 if i else len(s._w1) + s._n = (s._n + (1 if i else -1)) % len(s._w1) try: s._c((s._w1+[s._o])[s._n].split(": ", 1)[1]) except IndexError: From 1277ee02358831667c0b7d6c03d67761d4000779 Mon Sep 17 00:00:00 2001 From: Y-ellow <122377553+im-yellow@users.noreply.github.com> Date: Thu, 22 May 2025 15:47:17 +0100 Subject: [PATCH 2/3] Update utilities.json --- plugins/utilities.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 90fc444..1c0d8d0 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -89,6 +89,7 @@ } ], "versions": { + "1.1.2": null, "1.1.1": { "api_version": 9, "commit_sha": "f1917f7", @@ -1807,4 +1808,4 @@ } } } -} \ No newline at end of file +} From 2971248346461ef4defa47b6386a51f0de55caa7 Mon Sep 17 00:00:00 2001 From: im-yellow <122377553+im-yellow@users.noreply.github.com> Date: Thu, 22 May 2025 14:53:14 +0000 Subject: [PATCH 3/3] [ci] apply-version-metadata --- plugins/utilities.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 1c0d8d0..b8a8567 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -89,7 +89,12 @@ } ], "versions": { - "1.1.2": null, + "1.1.2": { + "api_version": 9, + "commit_sha": "1277ee0", + "released_on": "22-05-2025", + "md5sum": "95681edb02ee0a3d1bbc899dc8187029" + }, "1.1.1": { "api_version": 9, "commit_sha": "f1917f7", @@ -1808,4 +1813,4 @@ } } } -} +} \ No newline at end of file