Skip to content

yttrian/glyph.kt

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GitHub GitHub Sponsors Discord Bots Discord Bots

glyph.kt

The Kotlin rewrite of the Glyph Discord bot.

Glyph is an experimental Discord bot that uses DialogFlow to attempt to understand and process natural language requests as opposed to a traditional command based bot.

To learn more about how to use Glyph, check out the documentation here.

Self Hosting

In order to host your own copy of Glyph, some set up will be required.

  1. Create and train a DialogFlow agent that understands all actions Glyph's skills refer to
    • Action is in the format "skill.feedback"
    • All references entities must be understood too
    • A free ("Trial") plan is sufficient
    • You should disable "Log interaction to Dialogflow"
  2. Create a Reddit application for the Reddit skill
  3. Create a PostgreSQL database and Redis data store
  4. Set the needed environment variables as seen in the application.conf files
  5. Build and start the bot and config website

If you modify Glyph, you must make your source code and changes publicly available.