mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-11-22 02:10:10 +00:00
Created Matrix Bot Setup (markdown)
parent
098954375e
commit
a5314189d8
31
Matrix-Bot-Setup.md
Normal file
31
Matrix-Bot-Setup.md
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
The Matrix bot uses a normal account, so you can create it however you choose. If you already have an account made for the bot, skip step 1.
|
||||||
|
|
||||||
|
### 1: Create a bot account
|
||||||
|
|
||||||
|
Visit [app.element.io](https://app.element.io), and press "Create account".
|
||||||
|
|
||||||
|
<img src="https://raw.githubusercontent.com/hrfee/jfa-go/matrix/images/matrix/1.png" width="50%">
|
||||||
|
<img src="https://raw.githubusercontent.com/hrfee/jfa-go/matrix/images/matrix/2.png" width="50%">
|
||||||
|
|
||||||
|
### 2: Add it to jfa-go
|
||||||
|
|
||||||
|
Go to Settings and press the "+" button next to Matrix. If you can't see it, make sure messages/notifications are enabled, and matrix is disabled. **If you already have an access token, enable matrix and fill in the details yourself**.
|
||||||
|
|
||||||
|
<img src="https://raw.githubusercontent.com/hrfee/jfa-go/matrix/images/matrix/3.png" width="50%">
|
||||||
|
<img src="https://raw.githubusercontent.com/hrfee/jfa-go/matrix/images/matrix/4.png" width="50%">
|
||||||
|
|
||||||
|
Fill in the:
|
||||||
|
* Home server address (If you used the default on element.io, this will be `https://matrix.org`.
|
||||||
|
* Username (`@<your username>:<your homeserver>`), for example, `@jfa-bot:matrix.org`.
|
||||||
|
* Password
|
||||||
|
|
||||||
|
then press submit. The app will restart and the page will refresh. Matrix should now be enabled.
|
||||||
|
|
||||||
|
## Alternate method
|
||||||
|
|
||||||
|
If adding your account through the wizard in jfa-go doesn't work, you can get the required access token yourself.
|
||||||
|
* Login to the account through element.io.
|
||||||
|
* Click the dropdown next to your username on the top left and press "All settings".
|
||||||
|
* Select "Help & About" on the right, and scroll down to the Advanced section.
|
||||||
|
* Click the dropdown next to "Access token", and copy the token.
|
||||||
|
* In jfa-go, go to Settings > Matrix. Enable it, and paste the access token into the token box. Add your home server and user ID, then apply.
|
Loading…
Reference in New Issue
Block a user