Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

KRCG Discord Bot

PyPI version Validation Python version License Code Style

A discord bot to display V:tES cards, using the VEKN official card texts and KRCG rulings list.

Portions of the materials are the copyrights and trademarks of Paradox Interactive AB, and are used with permission. All rights reserved. For more information please visit white-wolf.com.

Dark Pack

Use it

This bot lets you retrieve cards official text, image and rulings: Bot Example

To call the bot, use slash commands: /card followed by a card name. Make sure you use the name autocompletion or you might not get the result you want. By default, the bot answers to you with a private message other members do not see. You can use the optional public paramater to your slash command to make the message visible for everyone in the channel.

It is online and free to use, install it on your Discord server.

Contribute

Contributions are welcome !

This bot is an offspring of the KRCG python package, so please refer to that repository for issues, discussions and contributions guidelines.

Hosting the bot

If you need to host a new version of the bot yourself, Python 3 is required, as well as an environment variable DISCORD_TOKEN. The token can be found on your Discord applications page.

The preferred way to run the bot is to use a python virtualenv:

/usr/bin/python3 -m venv venv
source venv/bin/activate
pip install krcg-bot
DISCORD_TOKEN=discord_token_of_your_bot
krcg-bot

A systemd unit can be used to configure the bot as a system service:

[Unit]
Description=krcg-bot
After=network-online.target

[Service]
Type=simple
Restart=always
WorkingDirectory=directory_where_krcg_is_installed
Environment=DISCORD_TOKEN=discord_token_of_your_bot
ExecStart=/bin/bash -c 'source venv/bin/activate && krcg-bot'

[Install]
WantedBy=multi-user.target

For development, the environment variable DISCORD_TOKEN can be provided by a personal .env file at the root of the krcg folder (ignored by git):

export DISCORD_TOKEN="discord_token_of_your_bot"

Metadata

Release files for krcg-bot 4.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for krcg-bot 4.5
File Size Uploaded Provenance Actions
krcg_bot-4.5.tar.gz 756.2 kB Without provenance Details for krcg_bot-4.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for krcg-bot 4.5
File Interpreter ABI Platform Actions
krcg_bot-4.5-py3-none-any.whl Python 3 none any Details for krcg_bot-4.5-py3-none-any.whl

Total release size: 766.3 kB

Release files / krcg_bot-4.5.tar.gz

Download URL krcg_bot-4.5.tar.gz
Size 756.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0896c8ffb8cff5e6effd6b38795ff068514bcd8c217393a56d28bccc61b3a099
BLAKE2b-256 checksum
How to use checksums
8bddd914bfc29f96494cd110eefbc3186e453a49f836472c37c473be0f324757
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release files / krcg_bot-4.5-py3-none-any.whl

Download URL krcg_bot-4.5-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c49bbcba75e67e4d319e24732faeea72f3dcdae5758ae4212067c14d044571c4
BLAKE2b-256 checksum
How to use checksums
9003bd93c219afc43beba4f5a46ca93ac3ed1e0654b4b94416006dd1aa86fd07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Security for krcg-bot 4.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page