Update README.md

This commit is contained in:
Sharon 2020-03-22 22:12:20 -04:00 committed by GitHub
parent 68b6491131
commit 0761ab1efc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,10 +12,20 @@ Built on:
``` ```
<script src="./chatbox.js"></script> <script src="./chatbox.js"></script>
<script> <script>
EmbeddableChatbox.mount({ var config = {
matrixServerUrl: "https://matrix.rhok.space", matrixServerUrl: 'https://matrix.rhok.space',
botUsername: "@help-bot:rhok.space" botId: '@help-bot:rhok.space',
}); roomName: 'Support Chat',
termsUrl: 'https://tosdr.org/',
introMessage: 'This chat application does not collect any of your personal data or any data from your use of this service.',
agreementMessage: 'Do you want to continue?',
confirmationMessage: 'Waiting for a facilitator to join the chat...',
exitMessage: 'The chat is closed. You may close this window.',
chatUnavailableMessage: 'The chat service is not available right now. Please try again later.',
anonymousDisplayName: 'Anonymous',
}
EmbeddableChatbox.mount(config);
</script> </script>
``` ```
Options: Options: