Commit graph

132 commits

Author SHA1 Message Date
nouryxd
bfae6bb73f unify buildinfo in a single file. fix /status page not working 2024-07-19 23:08:28 +02:00
nouryxd
de5a72744c switch to local database, add migrations 2024-07-17 21:16:39 +02:00
nouryxd
efc5793849 add eventsub debug command 2024-05-16 22:20:11 +02:00
nouryxd
e9c9118321 fix out of bounds crash for meme and conv command 2024-05-16 15:52:02 +02:00
nouryxd
003addc2d8 add say command 2024-05-14 02:16:05 +02:00
nouryxd
9820b957ac add additional banphrases 2024-05-13 01:50:26 +02:00
lyx0
97eb05aef1 rename github account 2024-03-31 20:57:16 +02:00
lyx0
2860df87b9 replace ivr api with twitch api calls 2024-02-29 21:35:45 +01:00
lyx0
6911603401 styling and cleanup 2024-02-29 21:17:39 +01:00
lyx0
4bfc29c1b6 add game command that returns current game for a provided twitch channel 2024-02-29 19:56:36 +01:00
lyx0
f45b141cc3 add title command, use helix api for twitch lookups 2024-02-29 19:32:43 +01:00
lyx0
e993de4eb1 make eventsub events work on multiple channels 2024-02-29 17:46:27 +01:00
lyx0
13c7fd30b2 check for double eventsub events and drop them 2024-02-28 18:46:53 +01:00
lyx0
d55d0bd73e remove predb 2024-02-28 12:39:47 +01:00
lyx0
94eec48e44 add comments 2024-02-28 12:34:22 +01:00
lyx0
78dff0e347 fix old comments 2024-02-28 11:53:39 +01:00
lyx0
9377bcf897 refactor 2024-02-20 22:36:33 +01:00
lyx0
8e432a5ee0 change paste url 2024-02-20 19:15:14 +01:00
lyx0
a0bd453132 add title and game to stream live announcement 2024-02-15 21:58:57 +01:00
lyx0
24cdb70f0b add eventsub notifications for channels going offline 2024-02-14 23:01:54 +01:00
lyx0
d6efd14139 add command to remove a websub subscription 2024-02-14 22:13:07 +01:00
lyx0
e09ec92a3b add eventsub notifications for channels going live 2024-02-13 19:13:44 +01:00
lyx0
3ace231495 use templates 2024-02-12 20:04:02 +01:00
lyx0
65e760454c add base/footer/header templates and use them on home route 2024-02-11 19:18:40 +01:00
lyx0
743cc82a87 add command page for specific channels 2024-02-11 16:54:53 +01:00
lyx0
4e905e8522 add timers page for specific channels 2024-02-11 15:48:32 +01:00
lyx0
283734935f add /timers route that shows all timers 2024-02-10 21:36:46 +01:00
lyx0
6acc16b6cc only call run from the main function so we can have return codes on main 2024-02-10 20:40:27 +01:00
lyx0
8f685cb3e2 serve files downloaded by ()meme command directly instead of relying on external router 2024-01-17 19:56:33 +01:00
lyx0
2802c4e07a fix youtube downloads not showing correct extension 2024-01-16 19:51:36 +01:00
lyx0
241d227bff check which gofile server to upload to 2024-01-16 16:42:33 +01:00
lyx0
4ff1deec02 change domain 2024-01-08 16:25:54 +01:00
lyx0
026918354d fix permission denied error because of wrong download file path 2024-01-02 14:00:47 +01:00
lyx0
942e5a6eee fix conv command erroring out with permissions denied 2023-12-27 13:12:13 +01:00
lyx0
eda759a437 Rather use log.Errorw instead of log.Fatalw if logger fails to sync 2023-12-26 18:10:44 +01:00
lyx0
cabb0d2783 seperate uid lookup for replys and for internal usage 2023-12-20 02:18:57 +01:00
lyx0
20b598ee3b use go templates for the web pages 2023-12-20 02:08:14 +01:00
lyx0
ae4237e0e8 use go templates for the web pages 2023-12-20 02:06:05 +01:00
lyx0
f8e157fe91 fix docker permission denied 2023-12-19 23:16:53 +01:00
lyx0
4422e49ea0 add meme command.
meme command takes in a video url, then downloads the video with yt-dlp and moves it to the folder that docker maps to public/uploads and replies with a url to it
2023-12-19 22:53:42 +01:00
lyx0
5c70be6d94 add conv command.
conv downloads a video with yt-dlp, then converts it to mp4 using ffmpeg and uploads it to yaf.li
2023-12-19 22:30:22 +01:00
lyx0
03004d40e6 don't check banphrase for commands stored in the database 2023-12-19 19:37:26 +01:00
lyx0
a28af0449d change timers command to link to the timer page instead of creating a new paste 2023-12-18 00:11:24 +01:00
lyx0
a8e3a5f372 remove stray comma 2023-12-18 00:07:10 +01:00
lyx0
1ea990e98e refactor commands. Remove category, rename help to description 2023-12-18 00:04:27 +01:00
lyx0
47e5c74615 fix timer edit function. add additional entrys to command help text 2023-12-17 23:15:21 +01:00
lyx0
c4a05a2619 change the command prefix based on the environment.
if running in the `prod` environment continue using the `()` prefix. otherwise in `dev` environment use !! as the prefix so we don't interfere with database calls to the production database because it was the same commands in both environments.
2023-12-17 22:53:23 +01:00
lyx0
98962a98b7 improve command help texts
instead of a simple map[string]string, helpText is now a map[string]command where the command struct has `Alias`, `Description`, `Level`, `Usage` fields.
2023-12-17 22:46:18 +01:00
lyx0
865e8eb94e add built in commands help text to channel commands list 2023-12-17 21:01:14 +01:00
lyx0
08d57ba9d9 add route for showing all channel timer 2023-12-17 20:11:02 +01:00