Commit Graph

43 Commits

Author SHA1 Message Date
Eric S. Londres d348b548c1
add bovine 2021-08-21 22:05:29 -04:00
Eric S. Londres 04459d1bb6
[v0.3.8] /corn now embeds images rather than posting URLs 2021-05-05 01:04:14 -04:00
Eric S. Londres 29acc30833
fix a lot of stuff and add a fancy grave 2021-04-23 01:35:05 -04:00
Eric S. Londres 2ec7fe50a9
yell at the caller 2021-04-23 01:12:35 -04:00
Eric S. Londres b1d0fb4505
make clippy happy (×2) 2021-04-23 00:30:59 -04:00
Eric S. Londres ee8e05fedf
make clippy happy 2021-04-23 00:30:30 -04:00
Eric S. Londres 18bff88dce
implement death 2021-04-23 00:28:27 -04:00
Eric S. Londres 0c174fc956
implement death 2021-04-23 00:23:29 -04:00
Eric S. Londres a3d284f8c6
change ".len() == 0" to ".is_empty()"
makes clippy happy
2021-03-28 15:10:59 -04:00
Eric S. Londres fa5a9dbccd
change "!= """ to "!is_empty()"
makes clippy happy
2021-03-28 15:10:04 -04:00
Eric S. Londres 22b50397f4
change ? to into() in errors
makes clippy happy
2021-03-28 15:09:16 -04:00
Eric S. Londres 4bedfb1b08
implement Count command to explicitly request the beer count 2021-03-28 13:48:31 -04:00
Eric S. Londres 9398fe5217
remove dead commented-out code 2021-03-28 13:43:01 -04:00
Eric S. Londres 84e5728d03
implement count using sql instead of an in-memory counter
the counter wasn't accurate, anyway
2021-03-28 13:40:34 -04:00
Eric S. Londres 370fca7197
implement explicit type template 2021-03-28 13:30:10 -04:00
Eric S. Londres 9f5b939391
add more useufl logging statements 2021-03-28 05:25:18 -04:00
Eric S. Londres 1393883077
fix syntax error 2021-03-28 05:20:32 -04:00
Eric S. Londres 4a463aafd2
implement post 2021-03-28 05:15:05 -04:00
Eric S. Londres b7146eb6aa
bump version number, remove explicit dependency on teloxide-code 2021-03-26 13:46:28 -04:00
Eric S. Londres e199b72532
eliminate explicit sends 2021-03-26 13:34:51 -04:00
Eric S. Londres afb252e336
update source code to work with new version of teloxide 2021-03-26 13:33:35 -04:00
Eric S. Londres f3b4ad2b86
fix api and allow non_snake_case 2021-03-10 16:37:27 -05:00
Eric S. Londres db74ea1e48
extract harvest function 2021-03-10 16:18:33 -05:00
Eric S. Londres 336a4f8933
implement corn 2021-03-10 15:32:37 -05:00
Eric S. Londres 4594f80725
begin implementation of corn 2021-03-10 15:22:14 -05:00
Eric S. Londres 2da0980712
check if database returned nothing 2021-02-18 21:18:46 -05:00
Eric S. Londres 4ab2ead252
Quaff pulls from database 2021-02-18 21:10:30 -05:00
Eric S. Londres cb386a68e7
OnTap pulls from database 2021-02-18 21:03:37 -05:00
Eric S. Londres ebe99f2850
fix type signatures for cross-thread error checking 2021-02-18 20:51:35 -05:00
Eric S. Londres 45c4c82c4b
store beers in database 2021-02-18 20:46:25 -05:00
Eric S. Londres 98e3c27c63
set up call to initialize_database in run() 2021-02-18 20:29:06 -05:00
Eric S. Londres aaefcf2917
implement quaff and fix return types 2021-02-18 20:22:59 -05:00
Eric S. Londres 98f1d6f81c
implement basic SQL api 2021-02-18 19:56:33 -05:00
Eric S. Londres 8a71e13311
print a special message if the tap is empty and /ontap is issued 2021-02-13 23:06:37 -05:00
Eric S. Londres 7deab77940
Notify users after they send a command
Replace all uses of `answer_str' with `reply_to', which is
functionally equivalent except it replies to the message which issued
the command, thus notifying the users when a response is given.
2021-02-10 23:59:22 -05:00
Eric S. Londres eee46e2b2e
fix indentation 2021-02-06 22:45:05 -05:00
Eric S. Londres c5db0d71e0
Don't store a beer if the string is empty
Print a message to the user which explains that they can't hold the
given beer if the beer message is empty
2021-02-06 22:26:43 -05:00
Eric S. Londres 16b2006a8e
fix grammar when there's only 1 beer 2021-02-06 21:32:19 -05:00
Eric S. Londres 641c6beaa0
implement lots of changes 2021-02-05 23:23:23 -05:00
Eric S. Londres a774180d6b
add copyright notice 2021-02-05 22:01:24 -05:00
Eric S. Londres 1e0c7f836a
whoops I forgot about git 2021-02-05 21:58:01 -05:00
Eric S. Londres ed592bec42
implement simple call-and-response 2021-02-05 19:45:45 -05:00
Eric S. Londres e03d1a9822
add source code file 2021-02-05 19:33:43 -05:00