kgk
Version, currently master branch1 version
- master branchlatestOct 22, 2018
github.com/refi64/kgk
A simple Discord image bot
Installation
# Add this to your shard.yml
dependencies:
kgk:
github: refi64/kgk
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- Target
kgkfrom src/kgk.cr
Dependencies
Runtime Dependencies
- redis*github: stefanwille/crystal-redis
- discordcr*github: meew0/discordcr, branch: master
- crystagiri*github: madeindjs/crystagiri
README
kgk
A Discord image bot.
How to use it
Copy local.template.yml to local.yml. Here's the meaning of the options:
- token: Discord bot token goes here.
- roles: This is a list of roles whose users can add and remove images and tags.
- redis: Here lie the Redis configuration options.
If you're deploying to Heroku, then uncomment the env_url line and comment out the host, password
Then run ./kgk.py local.yml to start the bot. You'll need a Redis instance running whose
settings you've filled out in your local.yml file.
Using docker-compose
You can instead copy redis.template.env to redis.env, modify it to set a password, and then make local.yml look like this:
.. code-block:: yaml
redis: host: redis port: 6379 password: REDIS_PASSWORD_HERE
putting the Redis password you set in redis.env here. Then just run docker-compose up --build.
Using Heroku
Uncomment the env_url line in local.yml, and make sure you have a Heroku Redis plugin available.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Oct 22, 2018
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/refi64/kgk
Metadata
- Created
- Oct 3, 2026
- Updated
- Oct 24, 2026
- Synced
- Oct 24, 2026
- Versions
- 1