Commit graph

468 commits

Author SHA1 Message Date
82e49280f5
Dict keys are strings 😔
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
2024-05-01 01:27:18 +01:00
61d6f0423e
Use check_once instead of before_invoke
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
2024-05-01 01:26:03 +01:00
090e3f9a74
Utilise built-in tomllib for better compatibility
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 1m7s
2024-05-01 01:23:41 +01:00
4ae95a23ff
Use integers in add_delays
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 5s
2024-05-01 01:20:02 +01:00
a64bd4fa12
Add artificial blocking to jimmy because funny
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
2024-05-01 01:18:06 +01:00
bbd74cd1e9
Default to hiding any filtered text
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
2024-05-01 00:54:55 +01:00
959d83f0b1
Allow configuring IP servers
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 9s
2024-05-01 00:46:03 +01:00
77b2fe03c0
Skip dunder files
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
2024-04-29 01:43:05 +01:00
40d16124c2
superFix cog auto-load
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 18s
2024-04-29 01:42:16 +01:00
d98d6c6669
Fix cog auto-load
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
2024-04-29 01:42:02 +01:00
a44556626d
Properly auto-load cogs
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
2024-04-29 01:41:02 +01:00
01d61248d5
properly add responder config 2024-04-29 01:34:21 +01:00
68edb16337
Add more config options
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 9s
And also document those config options better
2024-04-29 01:29:48 +01:00
020a698ba6
auto-download all PDFs
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 8s
2024-04-27 01:00:36 +01:00
b65073b1f8
Don't download the same link several times
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 5s
2024-04-26 18:43:35 +01:00
80348db530
NCFE had a diff domain
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
2024-04-26 18:35:13 +01:00
733efe43b9
what
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
2024-04-26 18:33:36 +01:00
2ca0949789
THose two bots won't overlap
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 5s
2024-04-26 18:32:39 +01:00
5f084bd6a2
Log when downloads start
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
2024-04-26 18:31:58 +01:00
b1d6dbf8ca
Disable auto-responder on Jimmy v3
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 5s
2024-04-26 18:28:19 +01:00
ea39f0fe56
Merge remote-tracking branch 'origin/master'
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 8s
2024-04-26 18:27:00 +01:00
f29dd2d647
Add auto-downloads for ncfe docs 2024-04-26 18:26:46 +01:00
nex
ba57e6ed43 Tweak quote regex
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 8s
2024-04-25 23:53:13 +01:00
415a9ed21b
Update ollama command
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
2024-04-25 19:33:34 +01:00
6f238beb69
Fix ip command layout 2024-04-21 23:47:54 +01:00
ac8f7b7d77
Fix ip command 2024-04-21 23:47:20 +01:00
3a6fc75f0d
Add ip command 2024-04-21 23:45:35 +01:00
c332d25adf
Clarify that truth times are in UTC 2024-04-21 23:37:19 +01:00
0ecb651b2d
Properly parse URLs 2024-04-19 23:27:02 +01:00
25adb45b50
Add raw_reaction_add 2024-04-19 23:23:37 +01:00
5d9a70e25c
Add on-demand HEVC-to-H264 2024-04-19 16:16:43 +01:00
531c0e9d4e
Use orca-mini:7b instead of 3b 2024-04-18 00:57:46 +01:00
33319feb86
Logging 2024-04-18 00:52:15 +01:00
709ca94e29
edit the right message 2024-04-18 00:51:36 +01:00
172b604a03
fix 2024-04-18 00:49:56 +01:00
c5ca971134
Reply to target message in AskAI 2024-04-18 00:46:04 +01:00
42215bff2a
use a lock for AskAI 2024-04-18 00:43:37 +01:00
093991ad70
Black + isort 2024-04-18 00:24:58 +01:00
f83322dae3
transcode any user's HEVC 2024-04-16 13:20:00 +01:00
25f5453e1c
Clear plot when used 2024-04-16 13:14:31 +01:00
f316351d16
Use a png instead of jpeg 2024-04-16 12:06:11 +01:00
501fd3b19c
Include a graph! 2024-04-16 12:03:58 +01:00
bc993717e7
Move "today" counter 2024-04-16 11:41:55 +01:00
aa017fca6c
Add "today" truth counter 2024-04-16 11:40:13 +01:00
cbd3b47aed
Only use hwaccel where possible 2024-04-16 01:06:53 +01:00
10cb02d7f3
Use more emojis for transcode status 2024-04-16 00:57:59 +01:00
ec317d196a
Use emojis for transcode status 2024-04-16 00:55:02 +01:00
d5466a2b09
Black reformat 2024-04-16 00:46:26 +01:00
a634c64cd6
forgot to allow all domains 2024-04-16 00:45:02 +01:00
200d108bdf
increase max paste size 510MB 2024-04-16 00:43:40 +01:00
73d0f204dc
Transcode any HEVC file under 10 minutes 2024-04-16 00:43:25 +01:00
94b07ac7f3
use 0x0.st instead of pastebin 2024-04-16 00:34:41 +01:00
e1da1b82ab
Set max bitrates because trump keeps posting movie-quality clips 2024-04-15 22:42:25 +01:00
73ae4bca8c
Add my ID for testing 2024-04-15 22:39:03 +01:00
e00a6c19fe
Fix ffprobe 2024-04-15 22:38:29 +01:00
024f32a1e9
Upload to pastebin where possible 2024-04-15 22:34:32 +01:00
751287479a
Properly take advantage of HW accel 2024-04-15 22:28:38 +01:00
e70056f2ff
Reduce the number of files that have an attempted transcode 2024-04-15 22:05:53 +01:00
ffd0b403d1
Change after timestamp 2024-04-15 21:16:42 +01:00
d9fbfb16fc
Don't count any untagged embeds 2024-04-15 21:15:12 +01:00
54b7455717
Have embed fields side by side 2024-04-15 19:56:53 +01:00
85131043c1
Decrease logging verbosity 2024-04-15 19:55:42 +01:00
de7063c3bf
Fix message fetcher not fetching enough messages 2024-04-15 19:55:21 +01:00
b64367710b
condense logging 2024-04-15 19:52:32 +01:00
32725eb5a0
Further logging 2024-04-15 19:51:39 +01:00
52e25c5de1
Log truth counting 2024-04-15 19:50:17 +01:00
2fb9fc77a2
Change processing engine 2024-04-15 19:47:58 +01:00
7f2e5e1d36
Add trump + tate 2024-04-15 19:44:49 +01:00
26575883ac
Update the compatibility timestamp 2024-04-15 18:41:11 +01:00
b9eb78e71c
Fix NameError 2024-04-15 18:39:29 +01:00
5829faba46
Make truths_counter command more accurate 2024-04-15 18:32:17 +01:00
2130c993b0
Add truths_counter command 2024-04-15 18:24:55 +01:00
51454440d4
My linter lied to me 2024-04-14 23:24:40 +01:00
47ff9f6110
Manually handle deleting file 2024-04-14 23:24:17 +01:00
8d7cee3e89
Fix missing comma 2024-04-14 23:23:07 +01:00
72a677df38
Increase verbosity of transcode logging 2024-04-14 23:21:29 +01:00
60e4ed5570
Log when an output file is too large 2024-04-14 23:20:35 +01:00
81fa1454ed
Fix ffmeta _run-ffprobe not working 2024-04-14 23:18:45 +01:00
d6e8e8d17d
Fix ffmeta _run-ffprobe not working 2024-04-14 23:17:45 +01:00
55c6e879ea
Log found codecs 2024-04-14 23:16:35 +01:00
84513735ef
Fix missing intents 2024-04-14 23:15:17 +01:00
ffda2c4ca5
Add auto responder for trump shit 2024-04-14 23:12:29 +01:00
41e5984664
Add auto responder for trump shit 2024-04-14 23:12:02 +01:00
b0f2f3f806
Use the same embed for response and edits 2024-04-14 18:52:02 +01:00
da96d818a3
Use the same embed for response and edits 2024-04-14 18:51:48 +01:00
f29e80eb95
Display which message is being replied to 2024-04-14 18:50:18 +01:00
d05582dee4
print download status 2024-04-14 18:47:42 +01:00
28bc97fb45
Fix ~~%~~ %% 2024-04-14 18:46:46 +01:00
a2b2ad6f9d
fully use aiohttp session 2024-04-14 18:45:48 +01:00
3a3804fc18
fix accidentally using httpxTimeout 2024-04-14 18:42:53 +01:00
38bc54d37f
Use clientsession instead of httpx 2024-04-14 18:40:53 +01:00
ec89cc95b9
fix yt-dl failing with resolutions >=1080p 2024-04-14 18:37:32 +01:00
c219158c62
Properly return a client in with_client 2024-04-14 18:34:04 +01:00
3f894c493d
Don't pass clients to handlers 2024-04-14 18:26:51 +01:00
0a2deba623
TypeError: 'generator' object does not support the asynchronous context manager protocol what now? 2024-04-14 18:13:44 +01:00
677973396a
Increase logging verbosity of check_server 2024-04-14 18:11:57 +01:00
4b9eab0bdb
Properly check server again? 2024-04-14 18:11:34 +01:00
e1a2f97e7f
Properly check server 2024-04-14 18:09:50 +01:00
7b72ced147
Log when a non-server-url is passed to check_server 2024-04-14 18:08:41 +01:00
12f9a012f7
Fix check_server kicking off about given url 2024-04-14 18:02:22 +01:00
5743be54c0
__await__ -> async flatten() 2024-04-14 17:26:14 +01:00
086dffd88c
Log download progress to console 2024-04-14 17:23:05 +01:00
5ac83dd939
add ask_ai message command 2024-04-14 17:19:54 +01:00
0cc5ce7150
Start writing ollama client class 2024-04-13 23:51:50 +01:00
f6d093d45d
Introduce resolution autocomplete 2024-04-02 16:03:14 +01:00
nex
45e85cfba4 lower compression threshold for screenshots 2024-04-02 02:55:54 +01:00
nex
c8019f3993 Merge branch 'master' of github.com:nexy7574/college-bot-v2 2024-04-02 02:38:23 +01:00
nex
4f7d76d5d5 add common resolutions to screenshot 2024-04-02 02:38:20 +01:00
5da071d6a5
Remove references to web.py 2024-03-31 18:57:04 +01:00
b199477a02
Fix the modals 2024-03-22 09:18:08 +00:00
b2013d2759
Fix view not updating 2024-03-22 09:16:38 +00:00
54e6076a9d
Fix view 2024-03-22 09:15:45 +00:00
3e0152ee24
Use a view instead 2024-03-22 09:14:52 +00:00
a8a67d5ce6
Merge remote-tracking branch 'origin/master' 2024-03-22 09:08:10 +00:00
50c648a618
Allow using system prompt and large user prompt 2024-03-22 09:08:03 +00:00
4f001c885e
Sort pie chart values 2024-03-19 00:48:24 +00:00
916ba0ab42
Handle no messages errors 2024-03-19 00:46:10 +00:00
328e5d3877
Fix name raising error 2024-03-19 00:43:23 +00:00
13c2acf43f
Fix names not properly applying 2024-03-19 00:42:04 +00:00
17b947f0e5
honestly what am I even doing with pie charts now 2024-03-19 00:39:55 +00:00
f226a0ac41
Fix filtering even more 2024-03-19 00:37:06 +00:00
8519a3278b
Too big 2024-03-19 00:32:50 +00:00
c53dd91729
again, just fit in the window please please 2024-03-19 00:32:20 +00:00
ca1d531ad6
again, just fit in the window please 2024-03-19 00:30:45 +00:00
8f6fd21940
idk AI told me to do this 2024-03-19 00:29:21 +00:00
faf8996a7b
Increase pie size, add name mapping 2024-03-19 00:25:45 +00:00
451d9ba77e
Improve filtering and add "other" 2024-03-19 00:20:22 +00:00
b5d05722d1
fix formatting? 2024-03-19 00:16:19 +00:00
0e5b491493
fix formatting! 2024-03-19 00:14:50 +00:00
834ab86cca
formatting! 2024-03-19 00:13:34 +00:00
bb71a681c8
Filter out "me" and channel/mentions 2024-03-19 00:06:12 +00:00
777669c09b
Forget the tight layout 2024-03-19 00:02:41 +00:00
580a6dc305
I hate MPL 2024-03-19 00:01:20 +00:00
b76160d57a
Fix quote_a config not being defaulted 2024-03-18 23:59:46 +00:00
bc16f3258c
Add quota cog 2024-03-18 23:57:13 +00:00
8ef909c33d
Properly allow configuring screenshot proxy 2024-03-17 16:15:59 +00:00
273404a615
Allow using proxy in /screenshot 2024-03-17 16:08:14 +00:00
7cd2032de9
fuck you 32 char limit 2024-03-11 17:48:04 +00:00
8c8993d3e8
Fix missing import 2024-03-11 17:45:05 +00:00
ec28e01beb
Add what-are-matthews-bank-details-for-the-80th-time command 2024-03-11 17:43:28 +00:00
b9c2d2fc6c
Merge remote-tracking branch 'origin/master' 2024-03-06 20:47:12 +00:00
7a643a3079
Take snip into account 2024-03-06 20:47:06 +00:00
nex
1a3b0ff660 Add UptimeKuma support to v2 2024-03-04 12:40:42 +00:00
3625ff5d4a
fix yt-dlp not trimming 2024-02-28 18:17:55 +00:00
7eff6c052c
Lie about User-Agent in chrome_options 2024-02-11 18:04:37 +00:00
e775d34460
Merge remote-tracking branch 'origin/master' 2024-02-11 17:54:15 +00:00
dfff4fda7b
Fix format error 2024-02-11 17:54:05 +00:00
nex
603a05e5e9 Fix Typo 2024-02-10 22:30:02 +00:00
nex
cbe00a8d22 Fix chromium using dev shm 2024-02-10 22:28:50 +00:00
nex
7623ef5348 Send the audio file before the code blocks 2024-02-07 17:20:58 +00:00
nex
238a13210d Allow 500bps 2024-02-07 17:16:02 +00:00
nex
7fda072bf9 Remove filtering in favour of less verbose output 2024-02-07 17:09:55 +00:00
nex
99936859f2 Strip lines 2024-02-07 17:08:02 +00:00
nex
02e0984498 Improve filtering even more 2024-02-07 17:06:58 +00:00
nex
54408bc730 Fix filtering 2024-02-07 17:06:10 +00:00
nex
af5166767f Improve file naming 2024-02-07 17:04:58 +00:00
nex
eb55f0a3cb Don't be so bloody verbose 2024-02-07 17:02:17 +00:00
nex
178c3028de Fix TypeError in opusinate 2024-02-07 16:56:41 +00:00
nex
9ef6dfdf98 add opusinate 2024-02-07 16:53:29 +00:00
nex
810ca9d0a3 Remove AVIF and PNG from jpegify 2024-02-07 16:28:36 +00:00
nex
31aba5ce6e Finish jpegify command 2024-02-07 16:18:09 +00:00
c9881c089f tmp 2024-02-07 16:02:32 +00:00
bf30547ad8 Split lines on ffprobe 2024-02-06 23:08:03 +00:00
e684c4d44a Fix ffmeta 2024-02-06 23:07:30 +00:00
516509e48f Merge remote-tracking branch 'origin/master' 2024-02-06 23:04:03 +00:00
dcf4e1960a Add ffmeta cog 2024-02-06 23:03:49 +00:00
nex
34a57af998 Properly avoid text overflow 2024-02-06 00:54:53 +00:00
502ca08bcd
Bring acid under control 2024-02-05 15:15:20 +00:00
87b95a8157 log ffmpeg commands 2024-01-26 19:13:31 +00:00
c0feda1ac7 Remove filesize hard limit 2024-01-26 19:05:23 +00:00
dbbd0d53e8 Improve audio quality (64k is still low) 2024-01-24 21:25:03 +00:00
ddf559773b Forgot to import subprocess 2024-01-24 21:24:01 +00:00
5f662c1613 Fix saving links after they've been deleted 2024-01-24 21:23:10 +00:00
7d87628ea2 Improve audio only downloads 2024-01-24 21:21:17 +00:00
b815f96c2e Fix audio-only downloads 2024-01-24 21:17:37 +00:00
6e04f4a97d Add more info to ytdl 2024-01-20 23:08:42 +00:00
nex
3021b1fb60 Fix ollama again 2024-01-16 10:14:50 +00:00
nex
168a744bcf Merge remote-tracking branch 'origin/master' 2024-01-16 10:10:56 +00:00
nex
9f40606752 Fix ollama 2024-01-16 10:10:31 +00:00
80dcfd6b68
ADd LICENSE and README 2024-01-15 13:02:24 +00:00
nex
ef81b13ab2
Untweak parameters, it works when it wants to. 2024-01-15 11:26:07 +00:00
nex
0e8f5758ef
Tweak some parameters to fix chromedriver 2024-01-15 11:02:31 +00:00
nex
f759f9ddb2
Properly cleanup chromedriver 2024-01-15 10:51:53 +00:00
nex
c41f912690
Fix no RemoteDebuggingPort 2024-01-15 10:37:12 +00:00
e92713fe25 Add debugging 2024-01-12 17:18:23 +00:00
17ae2db7b7 Remove deferral from ollama-history 2024-01-12 17:15:03 +00:00
14237b8f5f I hate the word "thread" now. 2024-01-12 17:11:16 +00:00
b0c25254ea Improve autocomplete 2024-01-12 17:05:13 +00:00
8cea7f8224 Fix autocomplete 2024-01-12 17:04:24 +00:00
5f22b79981 Improve History command 2024-01-12 17:01:41 +00:00
68868a5cf2 Fix JSON serilisation error 2024-01-12 16:59:29 +00:00
cd1b4411d7 Ping redis when needed 2024-01-12 16:50:28 +00:00
9db6b99f90 Allow saving and loading threads (with REDIS) 2024-01-12 16:47:45 +00:00
c47cac4118 Add history command 2024-01-12 16:26:32 +00:00
583ab92b54 Remove defunct parameters 2024-01-12 15:57:01 +00:00
f6d9d765a9 Add missing comma 2024-01-12 15:55:31 +00:00
930d86920a Check for threads' existence properly 2024-01-12 15:54:33 +00:00
6600f49ddf Apply a seed to the threads 2024-01-12 15:51:25 +00:00
d883f4044b Fix KeyError 2024-01-12 15:48:58 +00:00
05975de3af Fix ollama again 2024-01-12 15:43:16 +00:00
380d500e32 Migrate to chat endpoint 2024-01-12 15:39:39 +00:00
980c61d08b Make timings more accurate 2024-01-12 10:00:12 +00:00
4cfb598e4d Add timing info to ollama 2024-01-12 09:53:57 +00:00
0193ab25ad Allow cancelling a download 2024-01-11 14:58:00 +00:00
609b96c842 Show WHY A req failed 2024-01-11 14:41:07 +00:00
0095c654cb Fix error 2024-01-11 14:34:46 +00:00
0106311cd3 Fix ollama server status checker 2024-01-11 13:32:41 +00:00
09f93c054e Merge remote-tracking branch 'origin/master' 2024-01-11 13:23:31 +00:00
ae065c8d97 Automatically switch model to llava when an image is attached 2024-01-11 13:21:41 +00:00
789231f2da Add failover 2024-01-11 13:20:32 +00:00
3dbc841e6c Tweak Ollama Prompt 2024-01-10 20:20:00 +00:00
b6833973d0 Attach image to embed if provided 2024-01-10 16:20:03 +00:00
8ccc2a8a1b Add image support to ollama 2024-01-10 16:10:45 +00:00
a091104a9b Bloody shift click 2024-01-10 16:06:20 +00:00
b98e8024d4 Add interaction check to ollama view 2024-01-10 16:04:58 +00:00
d0809a4881 Bump the acid level to 11 2024-01-10 16:03:29 +00:00
1f7ada8e93 Add context and acid 2024-01-10 15:59:13 +00:00
8ccdeb8a0e Set author to indicate which model is in use 2024-01-10 15:35:18 +00:00
f3aadd2ce0 Enable load balanced servers 2024-01-10 15:11:36 +00:00
4028afce3d FIx yt-dlp error 2024-01-10 11:00:54 +00:00
30f65c42f9 Remove view when done 2024-01-10 10:41:30 +00:00
cc96cd9c01 Add optional icon url to config 2024-01-10 10:39:37 +00:00
0246ee9be5 Properly disable timeout 2024-01-10 10:31:55 +00:00
fc50179392 Allow cancelling ollama even earlier & disable timout 2024-01-10 10:29:48 +00:00
c8acf8d190 Fix delete message 2024-01-10 10:15:34 +00:00
27b3255374 Fix message delete params 2024-01-10 10:14:45 +00:00
e8f7f447bd Add a stop button to ollama 2024-01-10 10:13:37 +00:00
d2e334bb98 Add delete message app command 2024-01-10 09:59:45 +00:00
111a5c7c7f Cast web server to a completely different thread? 2024-01-10 09:55:21 +00:00
9270d9dd02 Turn off lifespan(?) 2024-01-10 09:51:27 +00:00
a8803de570 Hook bot into HTTP server 2024-01-10 09:50:54 +00:00
db50c379bb custom client time omg 2024-01-10 09:47:37 +00:00
3f9e91e84a Remove the funny reference 2024-01-10 09:46:54 +00:00
513ab26531 fucking matthew 2024-01-10 09:43:05 +00:00
01c13d836a Merge remote-tracking branch 'origin/master' 2024-01-10 09:39:58 +00:00
31f8f82164 Finish web server 2024-01-10 09:39:46 +00:00
dffb7acc63 Adjust prompt 2024-01-09 23:01:17 +00:00
e54c4f7a01 Fix weird NotFound Bug 2024-01-09 22:54:37 +00:00
1f3e4955cb Start web server integration (incomplete) 2024-01-09 16:26:18 +00:00
9407e5cf59 Fix input error 2024-01-09 14:54:53 +00:00
218ee6f802 Paginate long repsonses 2024-01-09 14:49:29 +00:00
6dfb8ea6eb Tone down the prompt 2024-01-09 14:34:22 +00:00
9ae12a2b46 add actual ollama prompt 2024-01-09 14:27:17 +00:00
a41c529c98 Link 2024-01-09 09:59:07 +00:00
2f120daed6 Forgot to actually return the URL 2024-01-09 09:57:41 +00:00
d53e1a5867 Fix log error 2024-01-09 09:53:31 +00:00
3714832752 Save the right message 2024-01-09 09:51:20 +00:00
c1d120d7b9 Save link after downloading it 2024-01-09 09:49:42 +00:00
7e87b9b5ac Add some debug to saved io 2024-01-09 09:47:01 +00:00
2c6ee6e533 Forgot to hexdigest 2024-01-09 09:41:57 +00:00