aboutsummaryrefslogtreecommitdiffstats
path: root/app/spinner.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2024-06-29 22:42:20 +0200
committerRobin Jarry <robin@jarry.cc>2024-07-02 22:00:28 +0200
commitbee2fc62ac7808cf081e58947023cd4c61c0109e (patch)
treeeaef11de98c014b08937a2dff39042d97a813283 /app/spinner.go
parent7a2372773ca870466029cf4137fde71082979a25 (diff)
downloadaerc-bee2fc62ac7808cf081e58947023cd4c61c0109e.tar.gz
ircbot: wait random delay before un-flipping tables
Unflipping tables instantly is not very considerate and certainly does not have the same emotional impact compared to waiting for a moment to digest the table flipping. Wait for a random period of time using a log normal distribution: | # | # # | # # | # # | # # | # # # | # # # # | # # # # | # # # # # | # # # # # # | # # # # # # # | # # # # # # # # | # # # # # # # # # # # # | # # # # # # # # # # # # # # # # . . . +----------------------------------------------------- 0 1 2 3 4 5 6 7 8 delay(seconds) Signed-off-by: Robin Jarry <robin@jarry.cc> Reviewed-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'app/spinner.go')
0 files changed, 0 insertions, 0 deletions