diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-10-22 14:00:01 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-10-22 14:00:01 -0400 |
commit | 2a247f922192e15d9d7cb70edbcf589c86d044a9 (patch) | |
tree | 00c76627011d87110fb40ec24ab970c7f65ecabc /bin/chessbot | |
parent | 0a01e4fcb5c725ccf6642d6d517ea2a9bc624a44 (diff) | |
download | Bot-Zulip-Chess-2a247f922192e15d9d7cb70edbcf589c86d044a9.tar.gz Bot-Zulip-Chess-2a247f922192e15d9d7cb70edbcf589c86d044a9.zip |
initial implementation
Diffstat (limited to 'bin/chessbot')
-rw-r--r-- | bin/chessbot | 9 |
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; |