From 99fdf6accc38514ec375f05912741b7d4d2ecef6 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 23 Dec 2022 07:44:18 -0800 Subject: [PATCH] Add bus object to default state Not that we're ever using the default state object these days, but still, try to at least keep things clean around here. --- index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.js b/index.js index b0a115f..6aef48c 100644 --- a/index.js +++ b/index.js @@ -106,6 +106,13 @@ fs.readFile(state_file, (err, data) => { }, state: "welcome", level: 0 + }, + bus : { + students: { + names: [], + count: 0, + }, + state: "welcome" } }; else -- 2.43.0