Skip to content

Latest commit

 

History

History
844 lines (517 loc) · 12.6 KB

Currency.md

File metadata and controls

844 lines (517 loc) · 12.6 KB

Module: Currency

This module contains currency control commands. Each guild can define it's own currency and members can gain or lose currency with multiple commands. Currency can be used to buy specific guild items or chickens or it can be gambled away in the casino through multiple gambling games. Good luck!

Group: bank

Expand for additional information

Bank account commands (each guild has it's own bank). Group call prints out given user's bank balance. Accounts periodically get a small increase through interest.

Guild only.

Aliases: $, $$, $$$

Overload 0:

  • (optional) [member]: Member (def: None)

Examples:

!bank
!bank Member


bank balance

Expand for additional information

Prints user's bank balance.

Guild only.

Aliases: s, status, bal, money

Overload 0:

  • (optional) [member]: Member (def: None)

Examples:

!bank balance
!bank balance Member


bank currency

Expand for additional information

Gets or sets guild currency.

Guild only.

Aliases: setcurrency, curr

Overload 1:

  • [string]: New currency

Overload 0:

No arguments.

Examples:

!bank currency
!bank currency Some string here


bank grant

Expand for additional information

Grants user a certain amount of guild currency.

Guild only.

Privileged users only.

Aliases: give

Overload 1:

  • [member]: Member
  • [long]: Amount

Overload 0:

  • [long]: Amount
  • [member]: Member

Examples:

!bank grant Member 100000
!bank grant 100000 Member


bank register

Expand for additional information

Opens a new bank account for the sender.

Guild only.

Aliases: r, signup, activate

Overload 0:

No arguments.

Examples:

!bank register


bank top

Expand for additional information

Lists wealthiest users in this guild.

Guild only.

Aliases: leaderboard, elite

Overload 0:

No arguments.

Examples:

!bank top


bank topglobal

Expand for additional information

Lists wealthiest users globally.

Guild only.

Aliases: globalleaderboard, globalelite, gtop, topg, globaltop

Overload 0:

No arguments.

Examples:

!bank topglobal


bank transfer

Expand for additional information

Transfer funds from your account to another user's account.

Guild only.

Aliases: lend, tr

Overload 1:

  • [member]: Member
  • [long]: Amount

Overload 0:

  • [long]: Amount
  • [member]: Member

Examples:

!bank transfer Member 100000
!bank transfer 100000 Member


bank unregister

Expand for additional information

Closes a bank account.

Guild only.

Privileged users only.

Aliases: ur, signout, deleteaccount, delacc, disable, deactivate

Overload 0:

  • [member]: Member
  • (optional) [boolean]: Globally? (def: False)

Examples:

!bank unregister Member
!bank unregister @User Yes/No


Group: casino

Expand for additional information

Prints all available casino games.

Aliases: vegas, cs, cas

Overload 0:

No arguments.

Examples:

!casino


Group: casino blackjack

Expand for additional information

Starts a new Blackjack game or joins a pending Blackjack game with given bid amount.

Aliases: bj

Overload 0:

  • (optional) [int]: Bid amount (def: 5)

Examples:

!casino blackjack 100000


casino blackjack join

Expand for additional information

Joins a pending Blackjack game with given bid amount.

Aliases: +, compete, enter, j, <<, <

Overload 0:

  • (optional) [int]: Bid amount (def: 5)

Examples:

!casino blackjack join 100000


casino blackjack rules

Expand for additional information

Prints Blackjack rules.

Aliases: help, h, ruling, rule, info

Overload 0:

No arguments.

Examples:

!casino blackjack rules


Group: casino holdem

Expand for additional information

Starts a new Texas Hold 'em poker game or joins a pending holdem game with given bid amount.

Aliases: poker, texasholdem, texas

Overload 0:

  • (optional) [int]: Total balance for each user (def: 1000)

Examples:

!casino holdem 100000


casino holdem join

Expand for additional information

Joins a pending Texas Hold 'em game with given bid amount.

Aliases: +, compete, enter, j, <<, <

Overload 0:

No arguments.

Examples:

!casino holdem join 100000


casino holdem rules

Expand for additional information

Prints Texas Hold 'em rules.

Aliases: help, h, ruling, rule

Overload 0:

No arguments.

Examples:

!casino holdem rules


Group: casino lottery

Expand for additional information

Starts a new Lottery game or joins a pending Lottery game with given three numbers. The three numbers are drawn from 1 to 15 and they can't be repeated. Rewards are given for each guess, increasing as the number of guesses increases.

Aliases: lotto, bingo

Overload 0:

  • [int...]: 3 numbers

Examples:

!casino lottery 1 5 10


casino lottery join

Expand for additional information

Joins a pending Lottery game with given three numbers.

Aliases: +, compete, enter, j, <<, <

Overload 0:

  • [int...]: 3 numbers

Examples:

!casino lottery join 1 5 10


casino lottery rules

Expand for additional information

Prints Lottery rules.

Aliases: help, h, ruling, rule

Overload 0:

No arguments.

Examples:

!casino lottery rules


casino slot

Expand for additional information

Rolls a Slot Machine.

Aliases: slotmachine

Overload 1:

  • (optional) [long]: Bid (def: 5)

Overload 0:

  • [string...]: Bid

Examples:

!casino slot 100000


casino wheeloffortune

Expand for additional information

Rolls a Wheel of Fortune.

Aliases: wof

Overload 1:

  • (optional) [long]: Bid (def: 5)

Overload 0:

  • [string...]: Bid

Examples:

!casino wheeloffortune 100000


Group: gamble

Expand for additional information

Gambling commands - requires guild currency.

Guild only.

Aliases: bet


gamble coinflip

Expand for additional information

Gambles on a coinflip toss. Default bid is 5.

Guild only.

Aliases: coin, flip

Overload 1:

  • [long]: Bid amount
  • [string]: Heads/Tails

Overload 0:

  • [string]: Heads/Tails
  • (optional) [long]: Bid amount (def: 5)

Examples:

!gamble coinflip 100000 heads
!gamble coinflip heads 100000


gamble dice

Expand for additional information

Gambles on a dice throw. Default bid is 5.

Guild only.

Aliases: roll, die

Overload 0:

  • [int]: Dice outcome (1-6)
  • (optional) [long]: Bid amount (def: 5)

Examples:

!gamble dice 100000 5


Group: shop

Expand for additional information

Shop for items using guild currency from your bank account. Group command lists all available items for purchase.

Guild only.

Aliases: store, mall

Overload 0:

No arguments.

Examples:

!shop


shop add

Expand for additional information

Adds a new item to guild shop.

Guild only.

Requires user permissions: Manage guild

Aliases: register, reg, additem, a, +, +=, <<, <, <-, <=

Overload 1:

  • [long]: Item price
  • [string...]: Item name

Overload 0:

  • [string]: Item name
  • [long]: Item price

Examples:

!shop add SampleName 100000
!shop add 100000 SampleName


shop buy

Expand for additional information

Buys a new item for you from the guild shop.

Guild only.

Aliases: purchase, shutupandtakemymoney, b, p

Overload 1:

  • [int...]: Item IDs

Overload 1:

  • [string]: Item name

Examples:

!shop buy SampleName
!shop buy 1 5


shop delete

Expand for additional information

Removes an item from guild shop.

Guild only.

Requires user permissions: Manage guild

Aliases: unregister, remove, rm, del, d, -, -=, >, >>, ->, =>

Overload 1:

  • [int...]: Item IDs to remove

Examples:

!shop delete SampleName
!shop delete 1 5


shop deleteall

Expand for additional information

Removes all items from the guild shop.

Guild only.

Requires user permissions: Manage guild

Aliases: removeall, rmrf, rma, clearall, clear, delall, da, cl, -a, --, >>>

Overload 0:

No arguments.

Examples:

!shop deleteall


shop list

Expand for additional information

Lists all items available for purchase in the guild shop.

Guild only.

Aliases: print, show, view, ls, l, p

Overload 0:

No arguments.

Examples:

!shop list


shop purchases

Expand for additional information

Print user purchases in this guild.

Guild only.

Aliases: myitems, purchased, bought

Overload 0:

  • (optional) [member]: Member (def: None)

Examples:

!shop purchases
!shop purchases Member


shop sell

Expand for additional information

Sell item(s) bought from the guild shop.

Guild only.

Aliases: return

Overload 0:

  • [int...]: Item IDs

Examples:

!shop sell 1 5


Group: work

Expand for additional information

Do something productive with your life or decide to earn money using immoral or illegal ways. You can work once every minute. Keep in mind that your salary is influenced by the current time.

Guild only.

Aliases: job

Overload 0:

No arguments.

Examples:

!work


work crime

Expand for additional information

Attempt a crime. This can be done once every 5 minutes. Keep in mind that attempting a crime at night gives higher chance of success.

Guild only.

Overload 0:

No arguments.

Examples:

!work crime


work streets

Expand for additional information

Work the streets tonight hoping to gather some easy money but beware - there are many threats lurking at that hour. This can be done once every 2 minutes. Keep in mind that during the night there is a higher chance to become a victim of a crime.

Guild only.

Aliases: prostitute

Overload 0:

No arguments.

Examples:

!work streets