diff --git a/pillar/role/matrix.sls b/pillar/role/matrix.sls index ea9d260..e83431c 100644 --- a/pillar/role/matrix.sls +++ b/pillar/role/matrix.sls @@ -2,3 +2,7 @@ include: - secrets.role.matrix {% endif %} + +profile: + matrix: + discord_client_id: 672058964707377152 diff --git a/salt/profile/matrix/files/config-discord.yaml b/salt/profile/matrix/files/config-discord.yaml index 0ceb2fa..2e4dced 100644 --- a/salt/profile/matrix/files/config-discord.yaml +++ b/salt/profile/matrix/files/config-discord.yaml @@ -7,7 +7,7 @@ bridge: domain: "opensuse.org" # This should be your publically facing URL because Discord may use it to # fetch media from the media store. - homeserverUrl: "http://opensuse.org" + homeserverUrl: "https://matrix.opensuse.org" # Interval at which to process users in the 'presence queue'. If you have # 5 users, one user will be processed every 500 milliseconds according to the # value below. This has a minimum value of 250. @@ -33,7 +33,7 @@ bridge: disableHereMentions: true # Authentication configuration for the discord bot. auth: - clientID: "672058964707377152" + clientID: "{{ pillar['profile']['matrix']['discord_client_id'] }}" botToken: "{{ pillar['profile']['matrix']['discord_bot_token'] }}" logging: # What level should the logger output to the console at.