Economy decay!

Periodically reduces users' red currency based on inactivity, encouraging engagement.
Server admins can configure decay parameters, view settings, and manually trigger decay cycles.
User activity is tracked via messages and reactions. # [p]bankdecay Setup economy credit decay for your server
- Usage: `[p]bankdecay` - Restricted to: `ADMIN` - Aliases: `bdecay` - Checks: `server_only` ## [p]bankdecay toggle Toggle the bank decay feature on or off.
- Usage: `[p]bankdecay toggle` ## [p]bankdecay setdays Set the number of inactive days before decay starts.
- Usage: `[p]bankdecay setdays ` ## [p]bankdecay setpercent Set the percentage of decay that occurs after the inactive period.
**Example**
If decay is 5%, then after the set days of inactivity they will lose 5% of their balance every day.
- Usage: `[p]bankdecay setpercent ` ## [p]bankdecay resettotal Reset the total amount decayed to zero.
- Usage: `[p]bankdecay resettotal` ## [p]bankdecay initialize Initialize the server and add every member to the config.
**Arguments**
- as_expired: (t/f) if True, initialize users as already expired
- Usage: `[p]bankdecay initialize ` ## [p]bankdecay getexpired Get a list of users who are currently expired and how much they will lose if decayed
- Usage: `[p]bankdecay getexpired` ## [p]bankdecay ignorerole Add/Remove a role from the ignore list
Users with an ignored role will not have their balance decay
- Usage: `[p]bankdecay ignorerole ` ## [p]bankdecay logchannel Set the log channel, each time the decay cycle runs this will be updated
- Usage: `[p]bankdecay logchannel ` ## [p]bankdecay cleanup Remove users from the config that are no longer in the server or have no balance
- Usage: `[p]bankdecay cleanup ` ## [p]bankdecay seen Check when a user was last active (if at all)
- Usage: `[p]bankdecay seen ` ## [p]bankdecay bulkaddpercent Add a percentage to all member balances.
Accidentally decayed too many credits? Bulk add to every user's balance in the server based on a percentage of their current balance.
- Usage: `[p]bankdecay bulkaddpercent ` ## [p]bankdecay bulkrempercent Remove a percentage from all member balances.
Accidentally refunded too many credits with bulkaddpercent? Bulk remove from every user's balance in the server based on a percentage of their current balance.
- Usage: `[p]bankdecay bulkrempercent ` ## [p]bankdecay decaynow Run a decay cycle on this server right now
- Usage: `[p]bankdecay decaynow [force=False]` ## [p]bankdecay view View Bank Decay Settings
- Usage: `[p]bankdecay view`