nai commented on issue waifu/kemoverse#5
Feat: Allow administrators for bot to be defined for control through fedicool, @waifu if you do that, you can combine with https://git.waifuism.life/waifu/kemoverse/issues/3 that's literally related
4 days ago
nai commented on issue waifu/kemoverse#4
Avoid pyramid branchingand 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) ``` …
4 days ago
nai commented on issue waifu/kemoverse#4
Avoid pyramid branchingYou 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…
4 days ago