Skip to content

Commit

Permalink
Add tolk.ai Genii
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauriC committed Jun 5, 2024
1 parent d7bf625 commit 5f26ad5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions tarteaucitron.services.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,25 @@ tarteaucitron.services.iframe = {
}
};

// tolkaigenii
tarteaucitron.services.tolkaigenii = {
"key": "tolkaigenii",
"type": "support",
"name": "Tolk.ai Genii",
"uri": "https://www.tolk.ai/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";

if (tarteaucitron.user.tolkaiGeniiProject === undefined) {
return;
}

tarteaucitron.addScript('https://genii-script.tolk.ai/lightchat.js', 'lightchat-bot', '', '', 'project-id', tarteaucitron.user.tolkaiGeniiProject);
}
};

// seamlessaccess
tarteaucitron.services.seamlessaccess = {
"key": "seamlessaccess",
Expand Down
2 changes: 1 addition & 1 deletion tarteaucitron.services.min.js

Large diffs are not rendered by default.

0 comments on commit 5f26ad5

Please sign in to comment.