mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
- Added a simple bank system. Users can deposit, withdraw and check the balance of their currency in the bank.
- Users can't check other user's bank balances. - Added a button on a .$ command which, when clicked, sends you a message with your bank balance that only you can see. - Updated pagination, it now uses buttons instead of reactions - using .h <command group> (atm only .bank is a proper group) will list commands with their descriptions in that group
This commit is contained in:
@@ -519,7 +519,7 @@ streamoffline:
|
||||
- sto
|
||||
- stoff
|
||||
streamonlinedelete:
|
||||
- streamonlinedelte
|
||||
- streamonlinedelete
|
||||
- stondel
|
||||
streammessage:
|
||||
- streammsg
|
||||
@@ -1285,4 +1285,16 @@ medusalist:
|
||||
- melist
|
||||
medusainfo:
|
||||
- medusainfo
|
||||
- meinfo
|
||||
- meinfo
|
||||
bankdeposit:
|
||||
- deposit
|
||||
- d
|
||||
- dep
|
||||
bankwithdraw:
|
||||
- withdraw
|
||||
- w
|
||||
- with
|
||||
bankbalance:
|
||||
- balance
|
||||
- b
|
||||
- bal
|
||||
|
@@ -2185,4 +2185,15 @@ medusalist:
|
||||
Read about the medusa system [here](https://nadekobot.readthedocs.io/en/latest/medusa/creating-a-medusa/)
|
||||
args:
|
||||
- ""
|
||||
|
||||
bankdeposit:
|
||||
desc: "Deposits the specified amount of currency into the bank for later use."
|
||||
args:
|
||||
- "50"
|
||||
bankwithdraw:
|
||||
desc: "Withdraws the specified amount of currency from the bank if available."
|
||||
args:
|
||||
- "49"
|
||||
bankbalance:
|
||||
desc: "Shows your current bank balance available for withdrawal."
|
||||
args:
|
||||
- ""
|
@@ -993,5 +993,10 @@
|
||||
"medusa_unloaded": "Medusa {0} has been unloaded.",
|
||||
"medusa_empty": "Medusa wasn't loaded as it didn't contain any Sneks.",
|
||||
"medusa_already_loaded": "Medusa {0} is already loaded",
|
||||
"medusa_invalid_not_found": "Medusa with that name wasn't found or the file was invalid"
|
||||
"medusa_invalid_not_found": "Medusa with that name wasn't found or the file was invalid",
|
||||
"bank_balance": "You have {0} in your bank account.",
|
||||
"bank_deposited": "You deposited {0} to your bank account.",
|
||||
"bank_withdrew": "You withdrew {0} from your bank account.",
|
||||
"bank_withdraw_insuff": "You don't have sufficient {0} in your bank account.",
|
||||
"cmd_group_commands": "'{0}' command group"
|
||||
}
|
||||
|
Reference in New Issue
Block a user