Yu-Gi-Oh! Paper, Master Duel and Duel Links Discord Bot
Fetches data from the YGOPRODeck and Master Duel Meta APIs
Get the bot from the new Discord app directory!
- Autocompletion
- Card suggestions with fuzzy searching
- Card info
- different formats using the
format:
option - remembers the last used option as default
- different formats using the
- High quality art
- Add card info to messages with
<card name>
s via right click
🚨 The ongoing development made the bot reliant on other services that I host, which makes self hosting not a great option.
Create a Discord application and get the bot token. (More info here)
Run the container with this command:
docker pull ghcr.io/okkdev/cardian:latest
docker run -e CARDIAN_TOKEN=<your-bot-token> BONK_URL=<bonk-url> okkdev/cardian --name cardian
To deploy the application commands run this command once:
docker exec cardian /app/bin/cardian rpc "Cardian.Interactions.deploy_commands()"
BONK_URL
: This is the URL for the bonk microservice which returns the whitelist of users that donated on kofi, used for the OCG art commandCARDIAN_TOKEN
: Discord bot tokenCARDIAN_UPDATE_INTERVAL
: Card cache update interval in minutes. Default: 120
- Install dependencies:
mix deps.get
-
Set env vars.
-
Run the app:
mix run --no-halt
# or
iex -S mix