Commit graph

292 commits

Author SHA1 Message Date
lyx0 3f16128812 delete channel from database 2022-08-09 19:50:46 +02:00
lyx0 3af6d60641 remove print statement so jq does not crash 2022-08-09 02:25:34 +02:00
lyx0 1c268cd09a add channel to database 2022-08-09 01:09:53 +02:00
lyx0 07a39a7fcb add channel models 2022-08-09 00:07:32 +02:00
lyx0 7ab1fe8e73 add comments, clean up 2022-08-08 23:58:25 +02:00
lyx0 6fbe68a0a4 move config to main file and add database connection 2022-08-08 23:13:33 +02:00
lyx0 fe17f5b3cd pass down Application struct 2022-08-08 23:12:50 +02:00
lyx0 8e8342998f add followage and first line commands 2022-08-08 16:43:21 +02:00
lyx0 82927a97dd add xkcd command 2022-08-08 13:45:37 +02:00
lyx0 ea39e55342 add coinflip command 2022-08-08 13:17:42 +02:00
lyx0 27bd336a8f add commands to search for emotes 2022-08-07 21:43:40 +02:00
lyx0 cfb320b017 add ffz and bttv command 2022-08-07 18:10:40 +02:00
lyx0 b31468ae3c add currency command 2022-08-07 17:24:47 +02:00
lyx0 d7e38bb17c add ping command and uptime time helper 2022-08-07 16:36:06 +02:00
lyx0 be9962f9f2 add tweet command 2022-08-07 16:08:30 +02:00
lyx0 33f61e2f0f cleanup 2022-08-07 04:35:03 +02:00
lyx0 c5d9804c21 remove unused comments and clean up 2022-08-07 03:17:29 +02:00
lyx0 edae669bee replace logrus with zap 2022-08-07 03:09:09 +02:00
lyx0 effffff270 fix dereference error somehow 2022-08-07 02:27:40 +02:00
lyx0 fee71708e7 restructure 2022-08-07 01:34:31 +02:00
lyx0 86c7217974 start rewrite 2022-08-06 23:45:02 +02:00
lyx0 aa565a86e9 start rewrite 2022-06-21 00:31:17 +02:00
lyx0 d4d15a82e3 asd 2022-06-21 00:08:37 +02:00
lyx0 40da7b90f8 add send helper function which checks the banphrase api 2022-06-04 20:38:14 +02:00
lyx0 a7ab565b24 start implementing basic command handler 2022-06-04 20:06:44 +02:00
lyx0 2ee85c47d7 use logrus logger instead of standard logger 2022-06-04 03:03:51 +02:00
lyx0 9293b6ff00 add comments, print a message on successful connection 2022-06-04 02:56:28 +02:00
lyx0 956b1a8614 add privatemessage base 2022-06-04 02:40:43 +02:00
lyx0 82626346ce use go-twitch-irc v3 instead 2022-06-04 02:29:05 +02:00
lyx0 8375f90265 start rewrite 2022-06-04 02:21:20 +02:00
lyx0 a2a99b81eb start new 2022-04-15 23:11:42 +02:00
lyx0 ddca49605c add database models 2022-03-10 23:41:13 +01:00
lyx0 1ebf4df8e7 add onConnect callback 2022-03-10 23:27:06 +01:00
lyx0 b7daac2619 restructure 2022-03-10 23:00:37 +01:00
lyx0 61946d6402 add Admin config variables 2022-03-07 16:45:16 +01:00
lyx0 fab09d68ae fix .env 2022-03-06 20:40:00 +01:00
lyx0 0098d5fb48 start rewrite 2022-03-06 20:19:55 +01:00
lyx0 078f9451a7 start rewrite 2022-01-02 01:30:16 +01:00
lyx0 89509ee58a cleaning up 2021-12-13 20:53:24 +01:00
lyx0 3e2b524288 change my own twitch name 2021-12-13 17:40:16 +01:00
lyx0 34e2bddef1 remove helix stuff 2021-11-07 17:33:39 +01:00
lyx0 5d61cbfe43 add helix client 2021-11-06 23:09:53 +01:00
lyx0 eb674712e0 restrict echo 2021-11-02 19:48:44 +01:00
lyx0 1f651f6058 protect against smol trollings with echo commmand 2021-10-31 12:59:29 +01:00
lyx0 8ccac2d892 cleanup 2021-10-29 17:40:28 +02:00
lyx0 36bdcf4cea update readme 2021-10-29 17:29:44 +02:00
lyx0 fdf31e7eec have production as default 2021-10-29 17:19:41 +02:00
lyx0 a2d34a5317 add dev/production flags 2021-10-29 17:05:07 +02:00
lyx0 90663c8980 remove unused struct 2021-10-29 12:14:54 +02:00
lyx0 8ddd54fc8c add tests 2021-10-28 23:12:40 +02:00
lyx0 7a702cb473 add banphrase tests 2021-10-28 23:01:05 +02:00
lyx0 432edf4e63 add some comments 2021-10-28 21:49:54 +02:00
lyx0 a707c1a53f fix repeated config calls 2021-10-28 17:48:18 +02:00
lyx0 10397e3adc refactor mongo client 2021-10-28 17:20:24 +02:00
lyx0 cb0181c01f addchannel works 2021-10-28 16:16:11 +02:00
lyx0 df2aad908f whoops 2021-10-28 15:16:22 +02:00
lyx0 6e6440e6b0 rename to JoinChannels 2021-10-27 20:01:59 +02:00
lyx0 ff135f615b join/say works 2021-10-27 19:41:42 +02:00
lyx0 95e8fe0ade connect works 2021-10-27 19:27:35 +02:00
lyx0 3196c22348 cleanup 2021-10-26 17:03:16 +02:00
lyx0 203f921c18 setup mongodb connection 2021-10-25 23:33:00 +02:00
lyx0 e2f21a4e64 add Dockerfile 2021-10-25 19:27:52 +02:00
lyx0 fca2f93e20 comment out spammy commands 2021-10-25 18:01:27 +02:00
lyx0 377b4f710a add a way to send a message without checking banphrases 2021-10-25 13:51:59 +02:00
lyx0 0f8ebc170c use the userid from the config instead of a hard coded one 2021-10-24 17:35:45 +02:00
lyx0 b43acc7bf4 add example .env 2021-10-24 17:35:32 +02:00
lyx0 8901038416 fix last return statement being unreachable 2021-10-22 22:29:31 +02:00
lyx0 6edccd2b24 remove some logs 2021-10-22 22:24:13 +02:00
lyx0 8e9d634df8 fix splitting messages not working 2021-10-21 01:46:25 +02:00
lyx0 3bcef5b48a cleanup 2021-10-20 23:03:20 +02:00
lyx0 bf8f7943fb add some comments 2021-10-20 22:59:05 +02:00
lyx0 71a1f854cb add reason to message output 2021-10-20 22:43:06 +02:00
lyx0 a842cc012e change banphrase api 2021-10-20 22:35:36 +02:00
lyx0 61fc2fb652 add lidl banphrase 2021-10-20 22:13:19 +02:00
lyx0 7ededaae9f cleanup a bit 2021-10-20 00:02:53 +02:00
lyx0 7bc69ff5e0 add more commands 2021-10-19 23:27:55 +02:00
lyx0 cf4e4b64e4 add commands 2021-10-19 22:33:08 +02:00
lyx0 833eee0c99 start with rewrite 2021-10-19 22:25:47 +02:00
lyx0 79f8f34066 remove unnecessary second config call 2021-10-14 20:17:46 +02:00
lyx0 b6028eb565 idk 2021-10-14 20:00:28 +02:00
lyx0 dbaa4ed180 add uptime 2021-10-14 19:02:07 +02:00
lyx0 e53fd561b3 add basic whisper message handler 2021-10-14 15:14:38 +02:00
lyx0 657417a80d add my old humanize package 2021-10-14 02:27:01 +02:00
lyx0 4b4a949ce3 remove OnPrivateMessage 2021-10-14 01:36:30 +02:00
lyx0 f6cbefd002 rename HandleTwitchMessage to HandlePrivateMessage 2021-10-14 01:00:00 +02:00
lyx0 bf0496fc28 pass config through instead of calling it on every message 2021-10-14 00:55:07 +02:00
lyx0 d83c74a8ac basic message handling 2021-10-14 00:45:32 +02:00
lyx0 809a2f83a8 fix wrong folder 2021-10-14 00:25:33 +02:00
lyx0 9423fe789e handle messages 2021-10-14 00:19:35 +02:00
lyx0 d9f32c1276 structuring 2021-10-13 23:37:46 +02:00
lyx0 8e5687292b join say connect works 2021-10-13 23:29:29 +02:00
lyx0 64b449252f idk 2021-10-13 23:24:02 +02:00