6b9934a221
automate management of loading emote
Build only (for PRs) / build-only (pull_request) Successful in 4m52s
2026-03-09 14:25:56 -04:00
084b7ed979
optimize codebase
...
Build only (for PRs) / build-only (pull_request) Successful in 4m43s
main.go:
- Eliminated ~160 lines of duplicate code: Extracted 3 new helper functions at the bottom of the file:
buildVideoMenuOptions([]VideoOption) — builds the Discord select menu options for video formats
buildAudioMenuOptions([]AudioOption) — same for audio
fetchAndShowFormats(s, i, url) — fetches formats, sorts them, builds menus, stores state, and edits the interaction; previously duplicated identically in both the download and download video command handlers
- Fixed time.Sleep ordering bug: The startAsyncDownload goroutine was launched before InteractionRespond with a 100ms sleep to compensate. Now the download is launched after InteractionRespond returns — no sleep needed. Removed "time" import.
- Used helpers in video_select handler: The two inline menu-building loops in that handler now call buildAudioMenuOptions / buildVideoMenuOptions
misc.go:
- Moved regexp.MustCompile(...) to a package-level var urlPattern — previously it recompiled the regex on every call to extractURLFromString
- Simplified the function body to a single return line
2026-03-09 11:10:33 -04:00
451333860f
chore(deps): update go-ytdlp and my fork
Build and Push Docker Image / build-and-push (push) Successful in 7m26s
Build and Push Docker Image / deploy-on-green (push) Successful in 6s
2026-03-07 23:55:40 -05:00
e3b5542b78
add /version command
Build and Push Docker Image / build-and-push (push) Successful in 5m5s
Build and Push Docker Image / deploy-on-green (push) Successful in 6s
2026-03-07 21:14:31 -05:00
aaf3338797
re-introduce context menu command
2026-03-07 21:05:23 -05:00
4541559f47
remove RecodeVideo, too resource intensive
Build only (for PRs) / build-only (pull_request) Successful in 3m30s
Build and Push Docker Image / build-and-push (push) Successful in 3m46s
2026-03-06 19:40:11 -05:00
13bd3b82db
minor UX tweaks
2026-03-05 21:42:56 -05:00
890a0dd5c9
format final video download message
2026-03-05 19:35:13 -05:00
6fd6160edf
use animated loading emote
2026-03-05 19:17:05 -05:00
481c8d9bb6
replace progress percentage with actual file size
2026-03-04 23:58:11 -05:00
3cac63ba82
implement progress bar
2026-03-04 21:06:41 -05:00
b3d779374b
have progress messages edit each other
2026-03-04 20:26:31 -05:00
600fde2e71
define static location for yt-dlp binary
2026-02-12 23:27:02 -05:00
a2a0aabb3a
downlad into temp folder then move to out folder when done, temp replace with my fork until upstream PR is merged
2026-02-12 23:26:08 -05:00
bd643344ef
direct requirements
2026-02-11 20:40:43 -05:00
63a6c38079
create download.go for async download function
2026-02-10 22:00:34 -05:00
4f34872f10
code cleanup
2026-02-10 21:59:30 -05:00
6ae35ec636
list formats and provide them for download
2026-02-10 21:52:39 -05:00
aa9dc58259
pass download status to discord
2026-01-26 20:16:13 -05:00
4bad5f72da
interaction state management, call ytdlp through /download function
2026-01-25 20:16:58 -05:00
99c6bd379a
start discord-side of things
2026-01-22 23:12:19 -05:00
b5642456c2
add options for downloads
2026-01-22 23:11:59 -05:00
9345a941fb
slight dl-only PoC
2026-01-21 15:40:40 -05:00
1b9437fea9
blank slate go app
2026-01-21 14:15:59 -05:00
de070a0c1f
chore(deps): update dependency yt-dlp to v2025.12.8
2025-12-08 01:00:40 +00:00
db488e06ab
fix syntax
Build and Push Docker Image / build-and-push (push) Successful in 2m58s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
2025-11-11 22:29:39 -05:00
e124ea31de
aaaaaargh, _ instead of -
Build and Push Docker Image / build-and-push (push) Successful in 2m57s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
2025-11-11 22:21:49 -05:00
2f47bbd848
hotfix: specify ejs:github remote component
Build and Push Docker Image / build-and-push (push) Successful in 3m8s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
2025-11-11 22:11:43 -05:00
37dfa7c208
chore(deps): update dependency yt-dlp to v2025.11.12
2025-11-12 02:00:43 +00:00
d98e96b4e2
chore(deps): update dependency python-dotenv to v1.2.1
2025-10-26 16:00:35 +00:00
0c1e715f98
Revert "use yt-dlp[default] to ensure Deno will be included"
...
Build and Push Docker Image / deploy-on-green (push) Has been cancelled
Build and Push Docker Image / build-and-push (push) Has been cancelled
This reverts commit a3a74571b4 .
2025-10-22 18:17:23 -04:00
a3a74571b4
use yt-dlp[default] to ensure Deno will be included
Build and Push Docker Image / build-and-push (push) Failing after 28s
Build and Push Docker Image / deploy-on-green (push) Has been skipped
2025-10-22 18:13:36 -04:00
84f38f39e3
chore(deps): update dependency yt-dlp to v2025.10.22
2025-10-22 20:00:42 +00:00
5ace6b5c91
Update dependency yt-dlp to v2025.10.14
2025-10-15 00:01:02 +00:00
8f0e9f8b96
Update dependency discord.py to v2.6.4
2025-10-08 22:00:47 +00:00
236ef0dcda
revert feb99c0dc1
...
Build and Push Docker Image / build-and-push (push) Successful in 22s
Build and Push Docker Image / deploy-on-green (push) Successful in 8s
revert add args due to new update
2025-09-29 16:46:15 +00:00
2c746eff68
Update dependency yt-dlp to v2025.9.26
2025-09-26 23:00:48 +00:00
feb99c0dc1
add args to fix error ( https://github.com/yt-dlp/yt-dlp/issues/14456#issuecomment-3339167951 )
Build and Push Docker Image / build-and-push (push) Successful in 2m29s
Build and Push Docker Image / deploy-on-green (push) Successful in 9s
2025-09-26 15:48:00 -04:00
a56d8a469d
Update dependency yt-dlp to v2025.9.23
2025-09-23 07:00:42 +00:00
72a9aaf2ab
Update dependency yt-dlp to v2025.9.5
2025-09-06 00:00:43 +00:00
5c5cba7ffc
Merge pull request 'Update dependency discord.py to v2.6.3' ( #13 ) from renovate/discord.py-2.x into master
...
Build and Push Docker Image / build-and-push (push) Successful in 2m29s
Build and Push Docker Image / deploy-on-green (push) Successful in 6s
Reviewed-on: #13
2025-08-31 20:58:55 +00:00
b7145dca8d
Update dependency discord.py to v2.6.3
2025-08-31 20:01:09 +00:00
4bfec6e8d3
Update dependency yt-dlp to v2025.8.27
2025-08-28 01:00:44 +00:00
f31a5707d9
Update dependency discord.py to v2.6.2
2025-08-24 18:00:42 +00:00
373427b646
Update dependency discord.py to v2.6.1
2025-08-24 14:00:39 +00:00
e867d46c5a
Update dependency yt-dlp to v2025.8.22
2025-08-23 01:00:47 +00:00
1c798e9f66
Update dependency yt-dlp to v2025.8.20
2025-08-20 03:00:42 +00:00
4f8af93d04
Update dependency discord.py to v2.6.0
2025-08-18 20:00:50 +00:00
319ffd2106
Update dependency yt-dlp to v2025.8.11
2025-08-11 05:00:44 +00:00
c0a9422fbd
exclude all untested formats
Build and Push Docker Image / build-and-push (push) Successful in 2m15s
Build and Push Docker Image / deploy-on-green (push) Successful in 10s
2025-08-02 15:43:53 -04:00