This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
matrix_tools [2020/05/30 11:24] admin |
matrix_tools [2020/06/01 11:41] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Matrix ====== | ====== Matrix ====== | ||
+ | ===== Documentation ===== | ||
+ | * https://matrix.org/docs/api/client-server/#/ | ||
+ | * https://matrix.org/docs/spec/ | ||
===== Getting your access token ===== | ===== Getting your access token ===== | ||
* Using Riot (that's whats running on https://matrix.glasgow.social) - Click on your profile name at the top left corner and select ''Settings'' | * Using Riot (that's whats running on https://matrix.glasgow.social) - Click on your profile name at the top left corner and select ''Settings'' | ||
Line 111: | Line 114: | ||
===== Matrix Bot ===== | ===== Matrix Bot ===== | ||
- | The basis of my bot's interaction with the Matrix is bascially the above code. Replace the echo line with with whatever you want to do (in my case, I look up a list of rules [i.e. pairs of regexes and their response functions] I use in IRC from a database and act accordingly). | + | The basis of my bot's interaction with Matrix is bascially the above code. Replace the echo line with with whatever you want to do (in my case, I look up a list of rules [i.e. pairs of regexes and their response functions] I use in IRC from a database and act accordingly). |