summaryrefslogtreecommitdiffstats
path: root/bin/chessbot
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chessbot')
-rw-r--r--bin/chessbot9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/chessbot b/bin/chessbot
new file mode 100644
index 0000000..c007ad6
--- /dev/null
+++ b/bin/chessbot
@@ -0,0 +1,9 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+
+use Bot::Zulip::Chess;
+use JSON::PP;
+
+my $config = decode_json(scalar do { local $/; <> });
+Bot::Zulip::Chess->new($config)->run;