An open API service indexing awesome lists of open source software.

https://github.com/doarakko/draw-edge

Draw Yu-Gi-Oh! Card on Slack.
https://github.com/doarakko/draw-edge

clodflare cloudflare-workers slack slack-bot yu-gi-oh yugioh

Last synced: about 2 months ago
JSON representation

Draw Yu-Gi-Oh! Card on Slack.

Awesome Lists containing this project

README

        

# draw-edge

Draw Yu-Gi-Oh! Card on Slack.

![example](example.png)

## Requirements

- Slack
- Cloudflare
- wrangler CLI

## Usage

### Deploy to Cloudflare Workers

1. Copy env file and enter your environment variables.

```sh
cp .dev.vars.example .dev.vars
```

1. Deploy

```sh
wrangler deploy
```

1. Set environmental variables to Cloudflare

```sh
wrangler secret put SLACK_BOT_TOKEN
wrangler secret put SLACK_SIGNING_SECRET
```

## Credits

- [Yu-Gi-Oh! API by YGOPRODeck](https://ygoprodeck.com/api-guide/)