Commit Graph

24 Commits

Author SHA1 Message Date
Danila Fedorin c4a74152d6 Bump the version 2020-04-25 19:00:55 -07:00
Danila Fedorin 0f5b17fd2c Start working on fixing Crystal incompatibility 2020-04-25 18:54:59 -07:00
Danila Fedorin 87d1ff8086 Bump the version, I guess. 2019-04-14 22:39:57 -07:00
Danila Fedorin 8c8f7beb5c Rewrite bot to avoid using two fibers and to handle errors in network. 2019-04-14 22:39:15 -07:00
Danila Fedorin 259bed9823 Move some of the sending code outside of the bot. 2018-04-16 19:47:35 -07:00
Danila Fedorin a94176f65c Fix typo causing compilation error. 2018-01-24 13:20:13 -08:00
Danila Fedorin bfda135c19 Add hooks that get called when the polling mechanism starts or ends. 2018-01-19 12:15:10 -08:00
Danila Fedorin 806d8db44c Fix seemingly deadlocking loop scenario. 2018-01-16 16:49:01 -08:00
Danila Fedorin 60835022fb Add cast to fix sending File URLs. 2018-01-13 23:11:45 -08:00
Danila Fedorin cebc91d13a Add a method to send a photo. 2018-01-13 22:41:07 -08:00
Danila Fedorin 81eee54695 Properly handle the @ part of a command. 2018-01-12 22:28:13 -08:00
Danila Fedorin e4381e7daf Only send nil to channel if worker was just spawned. 2018-01-12 22:18:20 -08:00
Danila Fedorin d020c0c9bf Move the spawn code out of the poll method. 2018-01-12 22:07:32 -08:00
Danila Fedorin caca0b1398 Add a way to send messages. 2018-01-12 22:07:20 -08:00
Danila Fedorin 4eaaaa28b7 Add poll and end_poll methods the bot. 2018-01-12 21:54:22 -08:00
Danila Fedorin 1183ee7bc7 Add a timeout to the update polling. 2018-01-12 20:58:51 -08:00
Danila Fedorin d02b25d026 Implement method to process updates. 2018-01-12 20:56:04 -08:00
Danila Fedorin cb1c4f2e54 Add a way to register routes that should be run by the bot on update. 2018-01-12 20:28:05 -08:00
Danila Fedorin de9a189d57 Add proper git link to README.md 2018-01-12 18:24:35 -08:00
Danila Fedorin 5b79a797da Edit the README. 2018-01-12 18:15:03 -08:00
Danila Fedorin ac0c8823a3 Implement method to get updates from Telegram. 2018-01-12 18:03:55 -08:00
Danila Fedorin 57ee991895 Create the base class for the Bot. 2018-01-12 17:22:05 -08:00
Danila Fedorin d0a044f3c7 Add models of Telegram API JSON responses. 2018-01-12 16:51:11 -08:00
Danila Fedorin 76381e004a Initial Commit 2018-01-12 15:19:20 -08:00