Skip to content

Commit 50130b9

Browse files
Update intents-github.js
1 parent 5cac224 commit 50130b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/js/intents-github.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ export const detectIntent = (message) => {
88
const msg = message.toLowerCase();
99

1010
if (msg.match(/halo|hai|hi|assalam|pagi|siang|sore/)) return "greeting";
11-
if (msg.match(/repo|repositori|github|cari repo|cari proyek|lihat kode/)) return "github_search";
11+
if (msg.match(/repo|repo milik|repositori|repositori milik|github|cari repo|cari repo milik|cari proyek|lihat kode|lihat kode milik/)) return "github_search";
1212
if (msg.match(/cerita|kisah|buatkan cerita|dongeng|kisahkan|story/)) return "make_story";
1313
if (msg.match(/lanjut cerita|teruskan cerita|next chapter|continue/)) return "continue_story";
14-
if (msg.match(/hapus|reset|mulai ulang|clear/)) return "reset_conversation";
14+
if (msg.match(/hapus|reset|mulai ulang|clear/)) return "reset_conversation", "reset_form";
1515
if (msg.match(/daftar|subscribe|langganan|premium/)) return "subscribe_prompt";
1616
if (msg.match(/bantuan|help|fitur|apa bisa|ngapain aja/)) return "help";
1717
if (msg.match(/siapa kamu|kamu siapa|tentangmu|profil|creator|pembuat|yang buat kamu/)) return "about_ai";

0 commit comments

Comments
 (0)