aboutsummaryrefslogtreecommitdiff
path: root/command_impls.js
diff options
context:
space:
mode:
Diffstat (limited to 'command_impls.js')
-rw-r--r--command_impls.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/command_impls.js b/command_impls.js
index 5875e66..b95e472 100644
--- a/command_impls.js
+++ b/command_impls.js
@@ -75,7 +75,8 @@ export function fomx(state) {
});
}
-export function factcheck(state, truth) {
+export function factcheck(state) {
+ const truth = Math.random() > 0.5 ? true : false;
if (truth)
return send(state, {
content: "https://jjanzen.ca/images/true-boar.png",