Commit graph

56 commits

Author SHA1 Message Date
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 4ff1deec02 change domain 2024-01-08 16:25:54 +01:00
lyx0 cabb0d2783 seperate uid lookup for replys and for internal usage 2023-12-20 02:18:57 +01:00
lyx0 ae4237e0e8 use go templates for the web pages 2023-12-20 02:06:05 +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 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 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
lyx0 8e13bb4102 add command that lists all commands for the channel it was sent in 2023-12-17 18:48:46 +01:00
lyx0 15956b235b move wolframalpha code to internal/commands 2023-12-17 17:23:42 +01:00
lyx0 64fb0255f1 add wolframalpha command 2023-12-17 17:17:55 +01:00
lyx0 33f91a6333 escape query string for predb 2023-12-13 23:20:05 +01:00
lyx0 d0cb43d1f3 add predb command.
predb commmand either fetches the latest or fetches specific information about releases
2023-12-13 22:40:48 +01:00
lyx0 b0f05530a1 make database commands channel sensitive 2023-12-10 23:50:59 +01:00
lyx0 05d49e9577 add debug command for environment. add docker up/down to Makefile 2023-12-08 19:23:31 +01:00
lyx0 3deafe8c62 add command that lists all commands 2023-12-03 17:24:42 +01:00
lyx0 6f28849331 monitor forsen bans 2023-12-03 16:35:34 +01:00
lyx0 e2cbd61f3e change name 2023-10-23 13:48:27 +02:00
lyx0 ee15ec9c1b adjust user and command level values 2023-10-11 21:35:47 +02:00
lyx0 65837b55ce take twitch status (pleb/mod/vip/broadcaster) into consideration for command permissions 2023-10-11 20:46:02 +02:00
lyx0 cc6e6b5fc1 restructure imported packages into pkg 2023-10-11 18:52:46 +02:00
lyx0 2860732011 add user level restrictions to commands 2023-10-11 18:01:32 +02:00
lyx0 025f236144 implement adding/deleting channel and joining/parting them 2023-10-10 19:07:49 +02:00
lyx0 801853cdb3 additionally add message context to each logged sent_message_logs in the database 2023-10-10 17:51:12 +02:00
lyx0 cd79c34643 implement database logging for used commands 2023-10-10 16:07:35 +02:00
lyx0 11f084978d add commands 2023-10-10 14:28:43 +02:00
lyx0 d5d0f7ba46 add help command 2023-10-10 13:16:30 +02:00
lyx0 abc3b45656 initialize user to database when he uses a command 2023-10-10 12:49:06 +02:00
lyx0 4d8aab7fd4 check if a command with the given commandName exists in the database and post it 2023-10-10 11:58:42 +02:00
lyx0 a33276759d add uploads model, log downloads/uploads to the database 2023-10-05 23:11:11 +02:00
lyx0 bda3b1e05b move download/upload into application 2023-10-05 21:21:26 +02:00
lyx0 9030a3efc3 add kappa and gofile uploaders 2023-10-05 20:21:23 +02:00
lyx0 8532494aab fix the mess downloads/uploads are 2023-10-05 19:33:07 +02:00
lyx0 4626fd13ee feat: add ()cb command that downloads a video using yt-dlp and then uploads it to catbox 2023-10-05 18:47:54 +02:00
lyx0 ec9045d2b6 fix: adjust the timer prefix lengths to the new command 2023-10-03 22:58:03 +02:00
lyx0 126fb7c1e9 spawn a new goroutine for the ()dl command and for sending messages 2023-10-03 19:33:31 +02:00
lyx0 230aa530eb fix: configure fileuploader url in a more disocverable place 2023-10-03 19:16:45 +02:00
lyx0 5363eb45cc move downloader to commands. package 2023-10-03 17:23:52 +02:00
lyx0 9f75c8c31b feat: add download command and upload to catbox
adds a ()dl command that downloads a video using yt-dlp, then uploads the videofile to catbox and sends the catbox link
2023-10-02 00:35:27 +02:00
lyx0 67e7a2e655 add dl command to download videos with yt-dlp 2023-09-27 16:44:42 +02:00
lyx0 f2d95ac9c6 fix error messagesg 2023-09-19 14:06:37 +02:00
lyx0 10bd7c0342 add debug command for commands 2023-09-14 17:40:35 +02:00
lyx0 dabbce14fe add debug user command that sends user information to my email 2023-09-08 03:03:57 +02:00
lyx0 14162e006a add mail functionality to replace twitch whispers 2023-09-08 02:26:00 +02:00
lyx0 9825967182 add lastfm functionality 2023-09-08 01:36:41 +02:00