From 78c115a807303d54fb1ddd5a1901648b68eff0db Mon Sep 17 00:00:00 2001 From: jjanzen Date: Thu, 16 Jan 2025 23:55:00 -0600 Subject: factcheck basic impl --- command_impls.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'command_impls.js') 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" }); +} -- cgit v1.2.3