|
||
---|---|---|
.. | ||
commands | ||
common | ||
overrides | ||
views | ||
__init__.py | ||
abc.py | ||
info.json | ||
main.py | ||
README.md |
Set prices for commands, customize how prices are applied, log bank events and more!
[p]bankpie
View a pie chart of the top X bank balances.
- Usage:
[p]bankpie [amount=10]
[p]extendedeconomy
Extended Economy settings
NOTE
Although setting prices for pure slash commands works, there is no refund mechanism in place for them.
Should a hybrid or text command fail due to an unhandled exception, the user will be refunded.
- Usage:
[p]extendedeconomy
- Restricted to:
ADMIN
- Aliases:
ecoset and exteco
- Checks:
server_only
[p]extendedeconomy resetcooldown
Reset the payday cooldown for a user
- Usage:
[p]extendedeconomy resetcooldown <member>
[p]extendedeconomy stackpaydays
Toggle whether payday roles stack or not
- Usage:
[p]extendedeconomy stackpaydays
- Aliases:
stackpayday
[p]extendedeconomy autopaydayrole
Add/Remove auto payday roles
- Usage:
[p]extendedeconomy autopaydayrole <role>
[p]extendedeconomy view
View the current settings
- Usage:
[p]extendedeconomy view
[p]extendedeconomy transfertax
Set the transfer tax percentage as a decimal
Example: 0.05
is for 5% tax
- Set to 0 to disable
- Default is 0
- Usage:
[p]extendedeconomy transfertax <tax>
[p]extendedeconomy mainlog
Set the main log channel
- Usage:
[p]extendedeconomy mainlog [channel=None]
[p]extendedeconomy autopayday
Toggle whether paydays are claimed automatically (Global bank)
- Usage:
[p]extendedeconomy autopayday
- Restricted to:
BOT_OWNER
[p]extendedeconomy eventlog
Set an event log channel
Events:
- set_balance
- transfer_credits
- bank_wipe
- prune
- set_global
- payday_claim
- Usage:
[p]extendedeconomy eventlog <event> [channel=None]
[p]extendedeconomy rolebonus
Add/Remove Payday role bonuses
Example: [p]ecoset rolebonus @role 0.1
- Adds a 10% bonus to the user's payday if they have the role.
To remove a bonus, set the bonus to 0.
- Usage:
[p]extendedeconomy rolebonus <role> <bonus>
[p]extendedeconomy autoclaimchannel
Set the auto claim channel
- Usage:
[p]extendedeconomy autoclaimchannel [channel]
[p]extendedeconomy deleteafter
Set the delete after time for cost check messages
- Set to 0 to disable (Recommended for public bots)
- Default is 0 (disabled)
- Usage:
[p]extendedeconomy deleteafter <seconds>
- Restricted to:
BOT_OWNER
[p]addcost
Add a cost to a command
- Usage:
[p]addcost [command=] [cost=0] [duration=3600] [level=all] [prompt=notify] [modifier=static] [value=0.0]
- Restricted to:
ADMIN
- Checks:
server_only
[p]banksetrole
Set the balance of all user accounts that have a specific role
Putting + or - signs before the amount will add/remove currency on the user's bank account instead.
Examples:
[p]banksetrole @everyone 420
- Sets everyones balance to 420[p]banksetrole @role +69
- Increases balance by 69 for everyone with the role[p]banksetrole @role -42
- Decreases balance by 42 for everyone with the role
Arguments
<role>
The role to set the currency of for each user that has it.<creds>
The amount of currency to set their balance to.- Usage:
[p]banksetrole <role> <creds>
- Restricted to:
ADMIN
- Checks:
is_owner_if_bank_global