TransGG / uncute-rina

Python transplace bot with fancy funky features
MIT License
0 stars 1 forks source link

Searching your name in the /nameusage gettop gives wrong results #12

Closed MysticMia closed 1 year ago

MysticMia commented 1 year ago

If you click the "Find my name" button and submit a name, it sends you to a page that is likely 2x the page you wanna be on. page 3 -> 6 page 5 -> 10 (yeah..) page 10 -> 20 (ok that's certain now)

It also doesn't store the new page into the message, so when you press next/previous, it will use the page number that it had before searching the name.

MysticMia commented 1 year ago

4 -> 7 (?) 5 -> 9 (?) So left column returns odd numbers, and right column returns even numbers. (I might need the ceil(of the column number+1)) It also seems I forgot to set the value of the modal back from 'failure' to 'success' so it never overwrote the page number.

MysticMia commented 1 year ago

Fixed in v1.1.8.0