File tree Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
RELEASE_17
2
2
- Bugfix: unknown locale "en_US" (it should be "en-US")
3
3
- Added Trivia Game Voice command (works only with OSKR bots)
4
+ - Attempt a VectorX auto-update every day at 1 am
4
5
5
6
RELEASE_16
6
7
- Add Fakeyou.com custom voices to Vector
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module vectorx
3
3
go 1.19
4
4
5
5
require (
6
- github.com/fforchino/vector-go-sdk v0.0.0-20230428162644-e2f10e6f8cdb
6
+ github.com/fforchino/vector-go-sdk v0.0.0-20230501190038-5c1be0b59b5a
7
7
github.com/fogleman/gg v1.3.0
8
8
)
9
9
Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQL
116
116
github.com/fatih/color v1.7.0 /go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4 =
117
117
github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo =
118
118
github.com/fatih/structs v1.1.0 /go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M =
119
- github.com/fforchino/vector-go-sdk v0.0.0-20230428162644-e2f10e6f8cdb h1:LdEbmvArMjChhrqbDKu6Xi/LqNDSWxobk3NcqMh86gw =
120
- github.com/fforchino/vector-go-sdk v0.0.0-20230428162644-e2f10e6f8cdb /go.mod h1:VhuDr1h8ilsmbbjG1Wvp66kIzWfyGFwKA54oIhpwIKQ =
119
+ github.com/fforchino/vector-go-sdk v0.0.0-20230501190038-5c1be0b59b5a h1:WT9ItNyKKcl5Yi8Y7rHdSctaUMkQjAHz443fom2e/4k =
120
+ github.com/fforchino/vector-go-sdk v0.0.0-20230501190038-5c1be0b59b5a /go.mod h1:VhuDr1h8ilsmbbjG1Wvp66kIzWfyGFwKA54oIhpwIKQ =
121
121
github.com/fogleman/gg v1.3.0 h1:/7zJX8F6AaYQc57WQCyN9cAIz+4bCJGO9B+dyW29am8 =
122
122
github.com/fogleman/gg v1.3.0 /go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k =
123
123
github.com/fsnotify/fsnotify v1.4.7 /go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo =
Original file line number Diff line number Diff line change @@ -67,15 +67,15 @@ func Trivia_Register(intentList *[]IntentDef) error {
67
67
}
68
68
69
69
func triviaGameStarted () bool {
70
- err := json .Unmarshal ([]byte (sdk_wrapper .GetCurrentGame ()), & GameConfig )
70
+ err := json .Unmarshal ([]byte (sdk_wrapper .GetCurrentGameData ()), & GameConfig )
71
71
return (err == nil && GameConfig .GameName == TRIVIA_GAME_NAME && GameConfig .State == STATE_TRIVIA_GAME_STARTED )
72
72
}
73
73
74
74
func saveConfig () bool {
75
75
retVal := false
76
76
b , err := json .Marshal (GameConfig )
77
77
if err == nil {
78
- sdk_wrapper .SetCurrentGame (string (b ))
78
+ sdk_wrapper .SetCurrentGameData (string (b ))
79
79
retVal = true
80
80
}
81
81
return retVal
@@ -99,7 +99,7 @@ func setTriviaGameEnd() bool {
99
99
GameConfig.CurrentQuestion = 1
100
100
retVal = saveConfig()
101
101
*/
102
- sdk_wrapper .SetCurrentGame ("" )
102
+ sdk_wrapper .SetCurrentGameData ("" )
103
103
}
104
104
return retVal
105
105
}
Original file line number Diff line number Diff line change @@ -477,7 +477,9 @@ <h3>Trivia game</h3>
477
477
game, or go through all the 20 questions. If you start the game, Vector will be locked to the game until
478
478
you quit. If Vector hears an invalid answer, he will prompt again the question. If he hears silence he
479
479
won't prompt again but he will do that as an answer to the next voice command, whatever it is.
480
- Just say "Quit" to quit the game and return to normal operation.
480
+ Just say "Quit" to quit the game and return to normal operation.< br />
481
+ NOTE: Alexa must be disabled to use this voice command, since it fakes Wake-Word detection by simulating
482
+ a back button press.
481
483
< br /> < br />
482
484
< span id ="bot-control-oskr-trivia-result "> </ span >
483
485
< br /> < br />
You can’t perform that action at this time.
0 commit comments