1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-02-23 07:53:59 +01:00
aerc/contrib/ircbot/Karma
Robin Jarry bee2fc62ac 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>
2024-07-02 22:00:28 +02:00
..
__init__.py ircbot: import upstream karma plugin 2024-06-28 23:33:12 +02:00
config.py ircbot: import upstream karma plugin 2024-06-28 23:33:12 +02:00
plugin.py ircbot: wait random delay before un-flipping tables 2024-07-02 22:00:28 +02:00