File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ export const detectIntent = (message) => {
8
8
const msg = message . toLowerCase ( ) ;
9
9
10
10
if ( msg . match ( / h a l o | h a i | h i | a s s a l a m | p a g i | s i a n g | s o r e / ) ) return "greeting" ;
11
- if ( msg . match ( / r e p o | r e p o s i t o r i | g i t h u b | c a r i r e p o | c a r i p r o y e k | l i h a t k o d e / ) ) return "github_search" ;
11
+ if ( msg . match ( / r e p o | r e p o m i l i k | r e p o s i t o r i | r e p o s i t o r i m i l i k | g i t h u b | c a r i r e p o | c a r i r e p o m i l i k | c a r i p r o y e k | l i h a t k o d e | l i h a t k o d e m i l i k / ) ) return "github_search" ;
12
12
if ( msg . match ( / c e r i t a | k i s a h | b u a t k a n c e r i t a | d o n g e n g | k i s a h k a n | s t o r y / ) ) return "make_story" ;
13
13
if ( msg . match ( / l a n j u t c e r i t a | t e r u s k a n c e r i t a | n e x t c h a p t e r | c o n t i n u e / ) ) return "continue_story" ;
14
- if ( msg . match ( / h a p u s | r e s e t | m u l a i u l a n g | c l e a r / ) ) return "reset_conversation" ;
14
+ if ( msg . match ( / h a p u s | r e s e t | m u l a i u l a n g | c l e a r / ) ) return "reset_conversation" , "reset_form" ;
15
15
if ( msg . match ( / d a f t a r | s u b s c r i b e | l a n g g a n a n | p r e m i u m / ) ) return "subscribe_prompt" ;
16
16
if ( msg . match ( / b a n t u a n | h e l p | f i t u r | a p a b i s a | n g a p a i n a j a / ) ) return "help" ;
17
17
if ( msg . match ( / s i a p a k a m u | k a m u s i a p a | t e n t a n g m u | p r o f i l | c r e a t o r | p e m b u a t | y a n g b u a t k a m u / ) ) return "about_ai" ;
You can’t perform that action at this time.
0 commit comments