Commit graph

46 commits

Author SHA1 Message Date
lyx0 e2a4e32dae add env flag for database connection 2023-03-03 21:16:32 +00:00
lyx0 76c78dfbb1 refactor from pkg to internal 2023-01-04 15:32:17 +01:00
lyx0 ee893cbea3 clean up 2023-01-04 15:24:40 +01:00
lyx0 b93d10f625 remove unused twitchAccessToken 2022-09-01 15:12:25 +00:00
lyx0 48e16c06a9 initialize the helix client in a more elegant way 2022-08-30 20:27:20 +02:00
lyx0 f5d6eca30c add twitch helix client 2022-08-29 21:24:30 +02:00
lyx0 e8a4888489 fix only the last timer running 2022-08-25 05:43:15 +02:00
lyx0 f7c3d4659c actually delete and stop a timer. to test ()addtimer xD 5s xD and then ()deletetimer xD 2022-08-25 04:42:37 +02:00
lyx0 9bf18d3cdf add scheduler onto application struct and set the timer on creation 2022-08-23 16:37:45 +02:00
lyx0 ca1f4a35c4 add join messages to my other channels 2022-08-22 03:37:22 +02:00
lyx0 f030a9c2bf get timers from database and start them on startup 2022-08-22 03:06:23 +02:00
lyx0 61f15ef9e3 move application and config struct to main 2022-08-20 15:14:05 +02:00
lyx0 7dd3bf3f14 add simple gocron timer 2022-08-18 18:57:29 +02:00
lyx0 a871dcd3cd clean up 2022-08-14 20:33:49 +02:00
lyx0 f241f2a816 add comments 2022-08-12 02:50:45 +02:00
lyx0 29b6b3c952 add comments 2022-08-12 00:08:39 +02:00
lyx0 b832ec63b6 make the commandPrefix a config value 2022-08-11 23:34:00 +02:00
lyx0 28b318dc92 move basic message routing into main function 2022-08-11 22:44:08 +02:00
lyx0 a0e724d009 get user level from database for command permissions 2022-08-10 22:06:36 +02:00
lyx0 fa9566d6ce get channels from database and join them on startup 2022-08-10 18:16:39 +02:00
lyx0 332de23f64 implement GetAllChannels functionality 2022-08-09 23:19:08 +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 27bd336a8f add commands to search for emotes 2022-08-07 21:43:40 +02:00
lyx0 d7e38bb17c add ping command and uptime time helper 2022-08-07 16:36:06 +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 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 0098d5fb48 start rewrite 2022-03-06 20:19:55 +01:00
lyx0 078f9451a7 start rewrite 2022-01-02 01:30:16 +01:00
Renamed from cmd/main.go (Browse further)