Skip to content

angelcerveraroldan/cards-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cards Bot

Usage

This bot is operated using slash commands, type "/" in any channel the bot has access to, and you will be shown a list of all slash commands (for all bots), click on the cards bot logo to the left to see all commands for this bot.

Commands

1. Heartbeat

Command name: /heartbeat

This command is used to check if the bot is working, and reading messages as it should be. If the bot is online and working, it should reply "I'm alive!"

2. Find Pokemon card by id

Command name: /card-id

Command arguments: id <id>

Example: Response to command /card-id xy1-2:

3. Find Pokemon card/s by parameters

Command name: /card-where

The following parameters can be used:

  • name
  • hp <hp, to have a hp range, type [x TO y]>
  • artist
  • rarity

Example: Response to command /card-where name charizard hp 330:

Running this bot

  1. Build: bash build.bash -> Build docker image
  2. Run: bash run.bash <path to env> -> Run docker image
  3. Build and run: bash build_run.bash <path to env> -> Both of the above

The env file, should contain the following:

TOKEN=<discord token>

About

A discord bot to get trading cards information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published