aboutsummaryrefslogtreecommitdiff
path: root/command_impls.js
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-01-16 23:55:00 -0600
committerjjanzen <jjanzen@jjanzen.ca>2025-01-16 23:55:00 -0600
commit78c115a807303d54fb1ddd5a1901648b68eff0db (patch)
treea3f67d046d8ba7863161def06bb8d16f85fa3299 /command_impls.js
parent7f600c39ca945ba0264deb7a68b905e6e0e12327 (diff)
factcheck basic impl
Diffstat (limited to 'command_impls.js')
-rw-r--r--command_impls.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/command_impls.js b/command_impls.js
index a9183f3..ed088e3 100644
--- a/command_impls.js
+++ b/command_impls.js
@@ -74,3 +74,8 @@ export function fomx(state) {
return send(state, { content: "failed to get fomx" });
});
}
+
+export function factcheck(state, truth) {
+ if (truth) return send(state, { content: "true" });
+ else return send(state, { content: "false" });
+}