This is more of a personal project intended to be used in the Wabbajack community to run search queries and to answer questions in discord. But can possibly be useful for other communities that need tags that post answers to for example frequently asked questions or contain some instructions for common fixes or similar things.
Follow this guide to get a Token for your Bot: https://docs.pycord.dev/en/stable/discord.html
When you invite the bot to your server make sure you use the OAuth2 tool to generate the proper invite link with the following settings:


DISCORD_BOT_TOKENNeeds to be set to the bot tokenTAG_INDEX_GETraw url to a YAML file or a rest api that sends a YAML body
TODO: Setup deployment to the Github Container Registry and update this template.
Docker-Compose.yaml:
services:
yaml-tags-discord-bot:
image: eziothedeadpoet/yaml-tags-discord-bot:latest
env_file:
- .env
- secrets.env
restart: unless-stopped.env:
TAG_INDEX=https://raw.githubusercontent.com/EzioTheDeadPoet/tag_repository/master/tags.yamlsecrets.env (needs to be created):
DISCORD_BOT_TOKEN=COPY_TOKEN_HERETags are configured in a YAML file:
tag:
text: https://link.to.raw/tag.md
image_url: https://link.to/image.pngSetting an image_url is optional.