Skip to content

Commit 2876806

Browse files
committed
remove halloween
1 parent cec0b21 commit 2876806

File tree

1 file changed

+2
-43
lines changed

1 file changed

+2
-43
lines changed

sites/landing/src/lib/convo-machine.ts

+2-43
Original file line numberDiff line numberDiff line change
@@ -48,53 +48,12 @@ type ConversationMachine = {
4848
states: Record<string, State>
4949
}
5050
const convoMachine: ConversationMachine = {
51-
initialState: 'HAPPY',
51+
initialState: 'INTRO',
5252
states: {
53-
HAPPY: {
54-
id: 'HAPPY',
55-
instructions: [
56-
{ type: 'system', ctx: 'resplice', text: 'chad@resplice has joined the chat.' },
57-
{
58-
type: 'type',
59-
ctx: 'resplice',
60-
pauseFor: 1200,
61-
actions: [
62-
{
63-
type: 'type',
64-
text: 'Happy Halloween! 🎃'
65-
}
66-
]
67-
},
68-
{
69-
type: 'type',
70-
ctx: 'resplice',
71-
pauseFor: 600,
72-
actions: [
73-
{
74-
type: 'type',
75-
text: 'Trick or Treat?'
76-
}
77-
]
78-
},
79-
{ type: 'system', ctx: 'person', text: 'You have joined the chat.' },
80-
{
81-
type: 'prompt',
82-
options: [
83-
{
84-
prompt: 'Trick',
85-
path: 'TRICK'
86-
},
87-
{
88-
prompt: 'Treat',
89-
path: 'INTRO'
90-
}
91-
]
92-
}
93-
]
94-
},
9553
INTRO: {
9654
id: 'INTRO',
9755
instructions: [
56+
{ type: 'system', ctx: 'resplice', text: 'chad@resplice has joined the chat.' },
9857
{
9958
type: 'type',
10059
ctx: 'resplice',

0 commit comments

Comments
 (0)