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.
Setup economy credit decay for your server
- Usage:
[p]bankdecay - Restricted to:
ADMIN - Aliases:
bdecay - Checks:
guild_only
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 <percent>
Set the log channel, each time the decay cycle runs this will be updated
- Usage:
[p]bankdecay logchannel <channel>
Reset the total amount decayed to zero.
- Usage:
[p]bankdecay resettotal
Set the number of inactive days before decay starts.
- Usage:
[p]bankdecay setdays <days>
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 <as_expired>
Add/Remove a role from the ignore list
Users with an ignored role will not have their balance decay
- Usage:
[p]bankdecay ignorerole <role>
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 <percent> <confirm>
Check when a user was last active (if at all)
- Usage:
[p]bankdecay seen <user>
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 <percent> <confirm>
Run a decay cycle on this server right now
- Usage:
[p]bankdecay decaynow [force=False]
Remove users from the config that have no balance
- Usage:
[p]bankdecay cleanup <confirm> - Restricted to:
BOT_OWNER
View Bank Decay Settings
- Usage:
[p]bankdecay view
Toggle the bank decay feature on or off.
- Usage:
[p]bankdecay toggle
Get a list of users who are currently expired and how much they will lose if decayed
- Usage:
[p]bankdecay getexpired