Commit graph

180 commits

Author SHA1 Message Date
lyx0
202513ee3e load command help text into redis at start 2023-04-13 20:48:11 +02:00
lyx0
39288bfd1c add redis storage for timers 2023-04-13 03:26:20 +02:00
lyx0
512c3dc219 update .env example 2023-04-12 21:35:17 +02:00
lyx0
9896d07dd7 use twitch id instead of twitch username 2023-03-05 21:14:33 +00:00
lyx0
777329897a switch from twitch usernames to twitch userid 2023-03-05 20:57:19 +00:00
lyx0
6b255a2bb5 get a users level from their twitch id instead of twitch username 2023-03-05 20:07:41 +00:00
lyx0
a23e7aafe9 check if a user is registered in the database everytime a command is used and if not register said user 2023-03-05 19:44:34 +00:00
lyx0
8fa67c9c97 move CheckLastFM to user and rename to UserCheckLastFM 2023-03-05 18:26:59 +00:00
lyx0
daa0469a84 implement setting a location for your user that is checked when no argument is supplied to the weather command 2023-03-05 17:56:02 +00:00
lyx0
d5710d727f migrate lastfm_username to the user model instead of seperate database table 2023-03-05 17:42:34 +00:00
lyx0
012dfc03a6 allow a user to set his own location 2023-03-04 22:37:31 +00:00
lyx0
2e7b115795 implement setting a lastfm account 2023-03-04 20:26:02 +00:00
lyx0
eb692020f7 check if a user was registered in the database if no argument for lastfm command is provided 2023-03-04 19:19:38 +00:00
lyx0
d507bfafa0 add command looking up a users recently played last.fm track 2023-03-04 17:58:44 +00:00
lyx0
b8625e1901 add a command to debug commands and output information about a provided command name 2023-03-04 05:00:00 +00:00
lyx0
a3e3ee129c add tweet command help text 2023-03-04 04:34:46 +00:00
lyx0
e5560bb1ed add special !nourybot and ()nourybot command that identifies who made it 2023-03-04 04:14:00 +00:00
lyx0
b2c8c4ab61 add help command that returns a help text about a command 2023-03-04 03:14:14 +00:00
lyx0
890a060c1c clean up comments 2023-03-04 03:13:24 +00:00
lyx0
6ad9d71b68 cleanup comments for AddCommand handler 2023-03-04 01:52:52 +00:00
lyx0
5dd6402941 add help column for commands and implement a command setting a new help text 2023-03-04 01:29:29 +00:00
lyx0
4be80755fc add 'help' column to command model 2023-03-04 00:04:28 +00:00
lyx0
e5a1b3553f simplify command creation 2023-03-03 23:26:11 +00:00
lyx0
6448c71fc1 remove environment config variable 2023-03-03 21:34:52 +00:00
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
95d8268a77 clean up editing timer 2022-08-27 22:00:17 +02:00
lyx0
7f7839d9cb add logic for editing a timer 2022-08-27 17:38:03 +02:00
lyx0
0b117a7ac4 check the time interval before trying to add it as a timer 2022-08-26 03:42:19 +02:00
lyx0
4ff29bcbaa check the time format string when creating a new timer. Format should be like 30m, 10h, or 10h30m 2022-08-26 02:27:42 +02:00
lyx0
5abb28ec5d clean up timers 2022-08-26 02:01:43 +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
b55b3ed0cb delete a timer from the database 2022-08-24 21:00:09 +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
6029d495b2 add a timer into the database 2022-08-22 02:13:07 +02:00
lyx0
feea944f64 start implementing timers 2022-08-21 21:04:27 +02:00
lyx0
61f15ef9e3 move application and config struct to main 2022-08-20 15:14:05 +02:00
lyx0
c6596f7733 add cors headers 2022-08-18 22:01:48 +02:00
lyx0
7dd3bf3f14 add simple gocron timer 2022-08-18 18:57:29 +02:00
lyx0
661a30542b add NotFound and MethodNotAllowed routes 2022-08-17 23:14:05 +02:00
lyx0
7144b0d61d add logs 2022-08-17 21:17:29 +02:00
lyx0
5e3ee66bae update a command through the api 2022-08-17 20:57:25 +02:00
lyx0
8e0a307b11 add delete command route for the api 2022-08-17 18:07:50 +02:00