Game Library Cog for RedBot
A Discord cog for creating user game lists, finding game list intersections, and some more stuff.
- Add this repo to your bot with
[p]repo add collective https://github.com/TheCogCollective/Discord_Game_Library - Install the library cog with
[p]cog install collective gamelib(this may take a minute) - Finally, load the cog with
[p]load gamelib
You can first check for cog updates by running [p]cog checkforupdates. If available, you can specifically update the library cog by running [p]cog update gamelib.
All the following commands need to be prefixed with '[p]game'. For example, if you want to manually add a game to your library with a '!' prefix, use:
!game add (game_name)
steamkey- Sets the Steam API key for the bot (one-time setup; required to use thesteamsyncandupdatecommands).- Visit the Steam Web API Key page, login with your Steam profile and fill out the short form to generate one - you can use any domain to do so.
steamsync- Syncs games between the given Steam ID and the user's library.update- Updates a user's game library from their synced Steam profile (for new games and accidental deletions!).
add- Adds a game to a user's library.
suggest- Looks at the libraries of online users and displays all the common games (priority order: voice > online users)poll- Same as suggest, but instead creates a Strawpoll for users to vote on a game to play.
remove- Removes a game from a user's library (theupdatecommand will re-add all Steam games).destroy- Deletes the author user's library.
list- Prints out a user's entire game library.check- Checks for a game in a user's library, or for all online users in the server.