Tippers

Purpose

For many reasons it can be useful to track tippers. This module manages all tippers.

Use

A Tipper is added to the pool by adding the tip, so add() should be called during cb.onTip(). This prevents duplicate entries, and adds the tip amount to the tipper if the tipper is present.

Tippers can be retrieved from the pool through lookup() using the name of the tipper.

tipped() summates all tips, returning the total tipped while the app or bot was running.

Requirements