Skip to content

MTG Card Fetcher bot for discord, same as my Java one, but written in TypeScript

Notifications You must be signed in to change notification settings

ajackson2681/CardFetcher-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTG Card Fetcher Discord Bot

Requirements

Configuration

  1. Rename "client-template.json" in the src/config folder to "client.json".
  2. Add your key from your discord app in where it says <INSERT TOKEN HERE>

Build

  1. Download this repo
  2. Navigate to the root of this repo
  3. Open a command prompt/terminal window and execute npm run build
  4. execute npm start

Usage

This bot uses Scryfall syntax, which can be found here: https://scryfall.com/docs/syntax

To get a list of bot commands, type !help in the chat box and the bot will return a list of all valid commands.
To serach for a card to get the gatherer information wrap your search inquiry like so: [[<CARDNAME> <additional syntax>]].
To serach for a card to get the EDHRec information wrap your search inquiry like so: {{<CARDNAME>}}. Additional syntax is not used for this option.

About

MTG Card Fetcher bot for discord, same as my Java one, but written in TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published