Commit graph

129 commits

Author SHA1 Message Date
lyx0 2ce6c8f0d9 cleanup predb 2023-12-17 17:46:41 +01:00
lyx0 146c04be0c fix predb sorting 2023-12-17 17:38:00 +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 3642ef8a30 generate a uuid as filename for yaf text uploads 2023-12-13 22:46:06 +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 d760c0bcb7 move various functions out of onConnect function so they don't trigger again on each reconnect 2023-12-13 12:53:04 +01:00
lyx0 b3bc8048cd fix status page crashes because of multiple registrations for /status 2023-12-13 12:01:44 +01:00
lyx0 b0f05530a1 make database commands channel sensitive 2023-12-10 23:50:59 +01:00
lyx0 78a0163928 add enviroment, commit and commit link to status page 2023-12-10 21:04:59 +01:00
lyx0 3491d88251 fix status page 2023-12-10 20:15:23 +01:00
lyx0 4592b3b52f add more information to status page 2023-12-10 20:13:06 +01:00
lyx0 9747dbc50b tidy 2023-12-10 19:14:08 +01:00
lyx0 344466a5cc add super basic uptime endpoint to ping 2023-12-10 19:08:54 +01:00
lyx0 05d49e9577 add debug command for environment. add docker up/down to Makefile 2023-12-08 19:23:31 +01:00
lyx0 0ac448a9ba move environment to run in into .env file 2023-12-07 17:49:32 +01:00
lyx0 6ba60a54a6 rename database dsn 2023-12-03 23:56:25 +01:00
lyx0 7fd0dc3a25 add forsen to channels 2023-12-03 22:32:37 +01:00
lyx0 8c0b7b322f lidl dockerize 2023-12-03 20:50:38 +01:00
lyx0 a7b7ea816a seperte perma bans and timeouts 2023-12-03 19:13:52 +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 7da57dd655 fix hastebin doamin 2023-12-03 16:01:41 +01:00
lyx0 efa4ea87a0 remove unnecessary print statements 2023-12-03 15:58:33 +01:00
lyx0 762b280698 yaf.ee -> yaf.li 2023-11-12 12:39:05 +01:00
lyx0 ae52863b93 remove unused zerolog 2023-11-03 17:06:01 +01:00
lyx0 cb449e2e35 remove logger.sync from lastfm 2023-11-03 17:03:18 +01:00
lyx0 d1600abf95 update timers 2023-11-01 19:40:00 +01:00
lyx0 e2cbd61f3e change name 2023-10-23 13:48:27 +02:00
lyx0 7f6496e434 rename LOCAL_DSN to DEV_DSN 2023-10-14 14:12:01 +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 fcb7a2f837 join all channel on startup 2023-10-10 19:09:22 +02:00
lyx0 025f236144 implement adding/deleting channel and joining/parting them 2023-10-10 19:07:49 +02:00
lyx0 dda26a8e49 cleanup warnings 2023-10-10 18:03:13 +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 8744951554 log each outgoing message the bot sends to the database 2023-10-10 16:49:00 +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 c23647aacd upgrade helix to v2 2023-10-07 17:00:14 +02:00
lyx0 a33276759d add uploads model, log downloads/uploads to the database 2023-10-05 23:11:11 +02:00
lyx0 afd6488135 fix: fix banphrased messages still being sent 2023-10-05 21:28:19 +02:00
lyx0 d05ef09c39 fix: forgot to change one app.TwitchClient to app.Send 2023-10-05 21:23:23 +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 80d9ed9fdc add uuid identifiers for timers 2023-10-04 00:05:38 +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 68f5cbbb9e fix: fixed app restart after uploading file from ()dl usage 2023-10-03 18:43:43 +02:00
lyx0 5363eb45cc move downloader to commands. package 2023-10-03 17:23:52 +02:00
lyx0 5ae08fad7c feat: ()dl command: download given video with yt-dlp, then upload it to imagehost and post the link in response 2023-10-03 17:02:11 +02:00
lyx0 2e7f672644 fix: replace log.Panic with app.Log.Error instead 2023-10-03 17:01:12 +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 800b837f55 remove email debugs 2023-09-16 19:39:10 +02:00
lyx0 90031bfe40 add pastebin upload functionality and implement it for uer and command debugging 2023-09-16 17:18:14 +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
lyx0 3e351431b2 add database command handling 2023-09-08 00:18:09 +02:00
lyx0 b330d5aa56 add database models, add timer functionality 2023-09-07 22:34:53 +02:00
lyx0 ec86f396bd add more commands 2023-09-07 21:09:33 +02:00
lyx0 56d7a1bc1d implement a few commands 2023-09-07 20:43:16 +02:00
lyx0 b2d7860cc2 refactor send/command functionality 2023-09-07 20:12:09 +02:00
lyx0 7c06a638b0 add basic command handling skeleton 2023-08-08 02:37:37 +02:00
lyx0 2a54f591c8 rename SUPABASE_DSN to REMOTE_DSN 2023-08-08 01:22:49 +02:00
lyx0 3c852ba793 upgrade to go-twitch-irc v4 2023-08-08 01:00:14 +02:00
lyx0 b88b4345f5 start rewrite 2023-08-04 20:57:40 +02:00