Commit graph

610 commits

Author SHA1 Message Date
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
18b12e4ed0 remove forgotten print statement 2023-10-11 20:25:58 +02:00
lyx0
7208fb6556 add version tag to ping response 2023-10-11 20:23:12 +02:00
lyx0
cc6e6b5fc1 restructure imported packages into pkg 2023-10-11 18:52:46 +02:00
lyx0
9b9cb5e1df
Merge pull request #6 from lyx0/command_restrictions 2023-10-11 18:05:01 +02:00
lyx0
2860732011 add user level restrictions to commands 2023-10-11 18:01:32 +02:00
lyx0
d6bdc0ca1a fix messed up pull request 2023-10-10 19:46:56 +02:00
lyx0
77d22580b0
Merge pull request #3 from lyx0/rewrite 2023-10-10 19:34:10 +02:00
lyx0
bec639b255 Merge branch 'master' into rewrite 2023-10-10 19:32:54 +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
bd7799ca63 catch errors instead of crashing 2023-10-05 20:40:09 +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
500e498524 remove 5 second wait before uploading 2023-10-05 11:58:19 +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
2c5fdce82b
Delete .github/workflows/codeql-analysis.yml 2023-09-19 13:32:29 +02:00
lyx0
f0ea352858
Delete .github/workflows/codeql-analysis.yml 2023-09-19 13:31:59 +02:00
lyx0
f3729489b5
Update codeql-analysis.yml 2023-09-16 19:47:14 +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