A simple Discord bot for getting game discount info from isthereanydeal.com.
- Node.js v12
- A Discord bot token
- An isthereanydeal.com API key
Clone the repository to any local folder.
Create a .env file in the folder with the following contents:
BOT_TOKEN=[token]
ITAD_KEY=[key]
Replace [token] with your Discord bot token. Replace [key] with your ITAD API key.
Finally, run the following commands:
$ npm install
$ node lib/index.js$help
Help me help you!$deals [game]
Gets a list of current deals for the specified game. Lookup relies on spelling, so misspellings may return nothing. If an exact match is not found, the bot will attempt to suggest something similar.$sellers
Lists all sellers.$ignoredsellers
Lists all ignored sellers. Ignored sellers do not appear in$dealslists.$ignoredsellers [add|remove] [seller]
Adds or removes an ignored seller. Seller must be spelled exactly as it appears in the$sellerscommand.$top [waitlisted|collected|popular]
Gets the top waitlisted, collected, or popular games.
IsThereAnyDeal Lookup is licensed under the MIT License.