Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 1.61 KB

README.md

File metadata and controls

44 lines (39 loc) · 1.61 KB

Click the cow!


A DEMO cog for integrating the Piccolo ORM library with Red.
Based on the Cow Clicker game by Ian Bogost.

[p]click (Hybrid Command)

Click the button!

  • Usage: [p]click
  • Slash Usage: /click
  • Cooldown: 1 per 15.0 seconds
  • Checks: ensure_db_connection

[p]clicks

Show the number of clicks you have

  • Usage: [p]clicks [member=None] [delta=None]
  • Checks: ensure_db_connection

[p]topclickers

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

[p]clickerset

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

[p]clickerset postgres

Set the Postgres connection info

  • Usage: [p]clickerset postgres

[p]clickerset nukedb

Delete the database for this cog and reinitialize it

THIS CANNOT BE UNDONE!

  • Usage: [p]clickerset nukedb <confirm>

[p]clickerset diagnose

Check the database connection

  • Usage: [p]clickerset diagnose