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
eda759a437
Rather use log.Errorw instead of log.Fatalw if logger fails to sync
2023-12-26 18:10:44 +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
70e8081045
switch to httprouter. add /commands/:channel route to display commands for a channel
2023-12-17 19:07:05 +01:00
lyx0
64fb0255f1
add wolframalpha command
2023-12-17 17:17:55 +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
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
6f28849331
monitor forsen bans
2023-12-03 16:35:34 +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
fcb7a2f837
join all channel on startup
2023-10-10 19:09:22 +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
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
ec9045d2b6
fix: adjust the timer prefix lengths to the new command
2023-10-03 22:58:03 +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
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
b330d5aa56
add database models, add timer functionality
2023-09-07 22:34:53 +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