matrix-dsl

A simple DSL for fast generation of Matrix Bots or Application Services
git clone git://archive.git.mtrnord.blog/Nordgedanken/matrix-dsl.git
Log | Files | Refs | LICENSE

example.mx (288B)


      1 [[BOT]]
      2 Name: "Test Bot"
      3 Description: "Some Demo Bot"
      4 Prefix: "!"
      5 Autojoin: "true"
      6 Commands:
      7     - Trigger: "afk"
      8       Response: "{{user}} just went afk"
      9     - Trigger: [join_event]
     10       Response: "Welcome to the Room {{last_joined_user}}"
     11 Homeserver: "matrix.org"
     12 HomeRoom: "{{name}}"