"Discord bot for VTES cards",
Project description
KRCG Discord Bot
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.
Use it
This bot lets you retrieve cards official text, image and rulings:
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"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file krcg-bot-2.2.tar.gz
.
File metadata
- Download URL: krcg-bot-2.2.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de6e7a28973881d4bdc50986854a6f8b6f6c9528813333c01da48b5aea3ee3b1 |
|
MD5 | 7d7c7a140d5698b58270c124c6171a2c |
|
BLAKE2b-256 | e4d1f21a999328a6e9e513feedccda2610b0c0830f606a472038df2279545247 |
File details
Details for the file krcg_bot-2.2-py3-none-any.whl
.
File metadata
- Download URL: krcg_bot-2.2-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32772c5fd856c5a02ffd5a9e09bf4298c620f8eca3fd87325d2fae65544c7738 |
|
MD5 | 8433b01dd92f1c309e34dfef8c114d5c |
|
BLAKE2b-256 | e4b1f4208a0f18629d8f855f61cb231b9ad313270841ef8643bfa8ee5a0c90f9 |