Skip to content

yttrian/glyph.kt

Repository files navigation

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

License

Glyph was previously licensed under the GNU Affero General Public License (AGPL) and has now been re-licensed under the MIT License. See the LICENSE.md file for details.