• Joined on 2025-05-15
nai approved waifu/kemoverse#46 2025-06-06 22:11:18 -07:00
26-rarity-vs-weight

looks good

nai commented on pull request waifu/kemoverse#42 2025-06-02 19:16:53 -07:00
Explicit account modification

I mean, you do expect this username to be deleted anyway, right. False if the user does exist and the operation failed for some reason. Though depends on the use-case

nai commented on pull request waifu/kemoverse#42 2025-06-02 19:16:53 -07:00
Explicit account modification

The function seems to grow too big too huge. Instead of piling every action in one file response.py, splitting every do_* into separate files could help. The file will be very heavy on a lot of unrelated to each other changes, hence every function belongs to a separate "domain", that could be expressed by splitting

nai commented on pull request waifu/kemoverse#42 2025-06-02 19:16:53 -07:00
Explicit account modification

it'd be more readable if you unpacked the array into variables that have names. is_float(arguments[2])) is too low-level if you are not someone who wrote this function.

nai commented on pull request waifu/kemoverse#42 2025-06-02 19:16:53 -07:00
Explicit account modification

Oh, you already do have the mapping! now just move the functions away to their own separate places, to unload the file

nai suggested changes for waifu/kemoverse#42 2025-06-02 19:16:53 -07:00
Explicit account modification

Very good how you are working hard my friend, huge respect

nai commented on issue waifu/kemoverse#14 2025-05-21 20:23:25 -07:00
Feat: Stat-based Duel Mode

What I would have proposed is already proposed by VD, nice.

My additional nit

In players "idle" time (meaning time outside of duels) let players build a deck. Since we don't have complex…

nai commented on pull request waifu/kemoverse#11 2025-05-20 17:09:57 -07:00
Gacha_response modification

Idk why it's in "request changes", all good here, it's just an observation

nai commented on pull request waifu/kemoverse#11 2025-05-20 17:09:43 -07:00
Gacha_response modification

Idk why it's in "request changes", all good here

nai commented on pull request waifu/kemoverse#11 2025-05-20 17:09:10 -07:00
Gacha_response modification

You are doing neat tuple unpacking at response.py, but here you don't. Would be cool to unify your approach and do the same with response object here! The intention would be a lot clearer

nai commented on pull request waifu/kemoverse#11 2025-05-20 17:09:10 -07:00
Gacha_response modification

I understand the intent, but you have to put an unchecked box in your head, that now you bot_app.py is VERY heavily depending on Misskey notification notations and API. If you still want to aggregate all Misskey specifics to one place, this move makes it a bit harder for the future.

nai commented on pull request waifu/kemoverse#11 2025-05-20 17:09:10 -07:00
Gacha_response modification

I love these little things, thank you

nai suggested changes for waifu/kemoverse#11 2025-05-20 17:09:10 -07:00
Gacha_response modification
nai commented on pull request waifu/kemoverse#11 2025-05-20 16:58:26 -07:00
Gacha_response modification

this saves the west

nai commented on pull request waifu/kemoverse#11 2025-05-20 16:57:32 -07:00
Gacha_response modification

Nice 🎉

nai approved waifu/kemoverse#10 2025-05-18 13:59:16 -07:00
Move database location to config

👍

nai commented on issue waifu/kemoverse#5 2025-05-16 12:31:05 -07:00
Feat: Allow administrators for bot to be defined for control through fedi

cool, @waifu if you do that, you can combine with waifu/kemoverse#3 that's literally related

nai commented on issue waifu/kemoverse#4 2025-05-16 05:48:30 -07:00
Avoid pyramid branching

and yes, as you said, you can alternatively move everything to a function, so it will be

notifications = client.i_notifications()
process_notifications(notifications)
time.sleep(5)

nai commented on issue waifu/kemoverse#4 2025-05-16 05:39:34 -07:00
Avoid pyramid branching

You don't even need more functions, just consider the starting point:

  • The whole while true is entirely wrapped into one huge if notifications:. So you can safely invert it, and just…
nai opened issue waifu/kemoverse#4 2025-05-15 18:53:52 -07:00
Avoid pyramid branching