mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Merge pull request #367 from im-yellow/main
Updown.py Message Navigation Fix
This commit is contained in:
commit
4bcabc1b01
2 changed files with 9 additions and 3 deletions
|
|
@ -89,6 +89,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"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",
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue