Cookies and Gambling - maidnaut/clang GitHub Wiki

Cookies and Gambling

Plugin: /plugins/cookies.py

The cookie system is the most complicated plugin next to the moderation suite. Inspired by Valkyrja's cookie system, users can get a cookie randomly on every message, nom, give and transfer cookies, and gamble them for a chance to win more.

Users can also thank one more more users (in different languages, thanks Ingenarel!) to give users a free cookie, instead of giving up one of their own.

The betting system makes cookies kind of meaningless and makes the entire focus on gambling, so this may change in the future. !give and !transfer may also be merged in the future as well.

Command Arguments Permissions Description
!cookies Everyone Shows your cookies and supplies usage commands.
!nom Everyone Eats a cookie.
!give user Everyone Gives the mentioned user one of your cookies.
!transfer user, amount Everyone Transfers the selected number of cookies to the mentioned user.
!leaderboard Everyone Shows the top 10 on the cookie leaderboard.
!halloffame Everyone Shows a list of people that have reached 1 million cookies.
!gamble amount:all:half Everyone (Alias: !bet) Gamble your cookies for a chance to win more.
!airdrop user, amount Admin Hacks in cookies for the selected user.
!take user, amount Admin Deletes the selected amount of cookies for the supplied user.
!setrate amount Admin Sets the rate for the random chance to recieve cookies on every message.