Changes between Version 2 and Version 3 of en/NLPMatrixDiscord


Ignore:
Timestamp:
Jun 27, 2025, 6:28:18 PM (4 days ago)
Author:
Ales Horak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • en/NLPMatrixDiscord

    v2 v3  
    1010
    1111Connect to the Discord app at https://discord.com/channels/@me
    12 and find out the user token and the room and Discord server (guild) IDs.
     12and find out the user token and the room and the Discord server (guild) IDs.
    1313
    1414=== Discord user token
     
    1919   ''Network'' tab and filter the URL list for `api`. Reload the web page.
    20201. Choose one of the URLs in the list with type `xml` or `xhr`. Display the ''Request headers''.
    21 1. Find `Authorization` in the header list - its value, is the **user token**. It should be something like `HEWkw2HE329cdsIOAAKSLFoosd.cspdfpoutwBJDW304DAQWEu0sdyvbsasDV02dfsggd3Ie`.
     211. Find `Authorization` in the header list - its value is the **user token**. It should be something like `HEWkw2HE329cdsIOAAKSLFoosd.cspdfpoutwBJDW304DAQWEu0sdyvbsasDV02dfsggd3Ie`.
    2222
    2323=== Discord server/guild and room IDs
    2424
    25 Navigate to the selected Discord room within your https://discord.com/channels/@me app. Look at the URL of the room.
     25Navigate to a selected Discord room within your https://discord.com/channels/@me app. Look at the URL of the room.
    2626It should look like
    2727{{{
     
    2929}}}
    3030The two numbers, `3254238502750491529` and `1650295748356024125` are the
    31 **server ID** (also called guild ID) and **channel ID**.
     31**server ID** (also called guild ID) and the **channel ID**.
    3232
    3333== Create a NLP Matrix discordbot room
    3434
    35 Login to NLP Matrix and create a new room named e.g. `Discord bridge bot`.
     35Login to [https://nlp.fi.muni.cz/matrix NLP Matrix] and create a new room named e.g. `Discord bridge bot`.
    3636Invite user `@discordbot:nlp.fi.muni.cz` to the room. You should see the message
    3737{{{
     
    4444== Choose which Discord items should be mirrored
    4545
    46 First, you need to log the `discordbot` to Discord on your behalf. Recall the
    47 ''user token'' that you have found in the previous section and in the NLP Matrix
     46First, you need to log `discordbot` to Discord on your behalf. Recall the
     47''user token'' that you have found in the preceding section and in the [https://nlp.fi.muni.cz/matrix NLP Matrix]
    4848`Discord bridge bot` room enter the command:
    4949{{{
     
    6060When logged in, you may connect as many Discord servers as you wish.
    6161You don't even need to look for the server/guild ID at Discord.
    62 Just ask discordbot to
     62Just ask discordbot for a
    6363{{{
    6464guilds status
     
    7272    ...
    7373}}}
    74 Now instruct discordbot to establish the bridge
     74Now instruct discordbot to establish the bridge to `FI MUNI` as
    7575{{{
    7676guilds bridge 252345435334213123 --entire
    7777}}}
    78 shoud lead to
     78which shoud lead to the message
    7979{{{
    8080Successfully bridged guild
    8181}}}
    82 and discordbot creating a number of new invites for you to NLP Matrix space named `Discord` and to new NLP Matrix room for each Discord room in the bridged Discord server.
     82and discordbot creating a number of new invites for you to NLP Matrix space named `Discord` and to a new NLP Matrix room for each Discord room in the bridged Discord server.
    8383
    8484[[br]]
    8585
    86 That's it! Now you can manage Discord and Matrix room in one place!
     86That's it! Now you can manage Discord and Matrix rooms in one place!