Click the cow!
A DEMO cog for integrating the Piccolo ORM library with Red.
Based on the Cow Clicker game by Ian Bogost.
Click the button!
- Usage:
[p]click
- Slash Usage:
/click
- Cooldown:
1 per 15.0 seconds
- Checks:
ensure_db_connection
Show the number of clicks you have
- Usage:
[p]clicks [member=None] [delta=None]
- Checks:
ensure_db_connection
Show the top clickers
Arguments:
show_global
: Show global top clickers instead of server top clickers.delta
: Show top clickers within a time delta. (e.g. 1d, 1h, 1m)- Usage:
[p]topclickers [show_global=False] [delta=None]
- Aliases:
clicklb
- Checks:
ensure_db_connection
Cow Clicker settings
Base Commands
[p]click
- Start a Cow Clicker session[p]clicks [@user=Yourself]
- Show the number of clicks you have, or another user if specified[p]topclickers [show_global=False]
- Show the top clickers, optionally show global top clickers
Use [p]help CowClicker
to view the cog help and version (Case sensitive)
- Usage:
[p]clickerset
- Restricted to:
BOT_OWNER
- Aliases:
cowclicker
Set the Postgres connection info
- Usage:
[p]clickerset postgres
Delete the database for this cog and reinitialize it
THIS CANNOT BE UNDONE!
- Usage:
[p]clickerset nukedb <confirm>
Check the database connection
- Usage:
[p]clickerset diagnose