Commit graph

53 commits

Author SHA1 Message Date
Max Isom
8e00726dc2
Add /favorites 2022-01-27 21:26:00 -05:00
Max Isom
2e5e509b32
Throw errors in command handlers 2022-01-26 22:30:58 -05:00
Max Isom
aacb107f43
Merge branch 'master' into feature/slash-commands 2022-01-26 12:58:33 -05:00
Thongrapee Panyapatiphan
59cbc8b474
Announce current song (#470)
Co-authored-by: Max Isom <hi@maxisom.me>
2022-01-21 12:50:57 -06:00
Max Isom
ed4e7b5ceb
Merge branch 'master' into feature/slash-commands 2022-01-19 13:40:48 -06:00
Max Isom
892c06a110
Bump discord.js 2022-01-07 12:38:07 -06:00
Max Isom
0b20cb3982
Start migrating queue command
Also: make it persistent & updating, add buttons 
2021-12-15 22:01:54 -05:00
Max Isom
dcb1351791
Migrate play command to slash command 2021-12-12 20:22:21 -05:00
Max Isom
e4a8dde776
Always resume 2021-12-12 13:20:36 -05:00
Max Isom
9f9469f682
Add back -re option on uncached streams 2021-11-24 13:16:44 -06:00
Max Isom
71b62cb3aa
Merge branch 'master' into feature/better-file-caching 2021-11-24 11:42:38 -06:00
Max Isom
b93e6644b7
Merge branch 'master' into remove 2021-11-20 19:02:48 -05:00
DrunkenToast
5a74115beb
feat: remove from queue
+ fix typo queuecommand
2021-11-20 19:01:52 -05:00
Hellyson Rodrigo Parteka
46701a8aab
fix: change player.add(...) behavior 2021-11-20 19:01:52 -05:00
Hellyson Rodrigo Parteka
fe5f9cf9a7
feat: discord.js v13 2021-11-20 19:01:51 -05:00
Max Isom
1ddd19dbb9
Only add event listeners once
See #372
2021-11-20 19:01:00 -05:00
Max Isom
f5149dfaba
Move file caching logic to new FileCache service
Also: removes the -re ffmpeg option.
If this option is passed, ffmpeg won't write to fs-capacitor (and the cache file) as fast as possible.
In other words, the cache file won't finish writing until the entire stream has been played.
2021-11-19 12:13:45 -05:00
Hellyson Rodrigo Parteka
c16449b08f
fix: change player.add(...) behavior 2021-11-17 20:17:08 -03:00
Max Isom
dd81fc47fd
Merge branch 'master' into bugfix/only-add-listeners-once 2021-11-17 16:16:00 -05:00
Hellyson Rodrigo Parteka
8448feebb6
feat: discord.js v13 2021-11-12 16:30:18 -03:00
Max Isom
a4e67d6383
Add -re flag
See #389, https://trac.ffmpeg.org/wiki/StreamingGuide
2021-10-31 11:20:59 -04:00
Max Isom
defb56ed5e
Only add event listeners once
See #372
2021-10-03 12:59:26 -04:00
Max Isom
dcac22832d
Bump linter version 2021-09-19 22:24:46 -04:00
Max Isom
fd782219ef
Move to ESM, use ytsr, implement caching
Closes #315
2021-09-19 22:09:09 -04:00
Max Isom
9a2ef876d3
Correctly skip song if unavailable
Also lets user know in text channel that song is unavailable after skipping.

Fixes #324
2021-09-18 16:55:50 -04:00
Max Isom
5d92d4ed54
Allow skipping multiple tracks 2021-04-23 12:30:31 -04:00
Max Isom
e103282cd7
Fix auto translate search function 2020-10-24 13:11:29 -04:00
Max Isom
599dbce6e6
Bump packages 2020-10-24 12:32:43 -04:00
Max Isom
cd4b42a8f6
Bump dependencies 2020-08-24 14:53:18 -05:00
Max Isom
7fcd9a6a7d Fix caching bug 2020-03-27 18:28:50 -05:00
Max Isom
4e1a156f9b Bump dependencies 2020-03-25 17:59:09 -05:00
Max Isom
dc70a37e96 Fix position tracking bug and catch ffmpeg errors 2020-03-25 17:32:43 -05:00
Max Isom
334a2bf0a0 Fix queue and player bugs 2020-03-23 19:40:54 -05:00
Max Isom
9c91ce1a13 Merge Player and Queue services 2020-03-20 20:47:04 -05:00
Max Isom
f25467a41d Small bug fixes 2020-03-19 19:16:07 -05:00
Max Isom
362ce89987 Disconnect when finished playing 2020-03-19 17:24:46 -05:00
Max Isom
7f39642c49 Add queue output, various bug fixes 2020-03-18 22:29:43 -05:00
Max Isom
8340f9b95a Add disconnect command 2020-03-18 18:29:32 -05:00
Max Isom
6a02088b04 Go Packers 2020-03-18 17:15:45 -05:00
Max Isom
b1895627db Don't cache long videos 2020-03-18 12:44:36 -05:00
Max Isom
11246812a6 Don't allow seeking past end of song 2020-03-18 12:40:31 -05:00
Max Isom
7844e80991 Refactor play command 2020-03-17 21:36:48 -05:00
Max Isom
c058ec95fe Various bug fixes 2020-03-17 19:42:28 -05:00
Max Isom
15d4e251f2 Add better responses 2020-03-17 17:59:26 -05:00
Max Isom
1a1bdfd674 Add Dockerfile 2020-03-17 12:30:27 -05:00
Max Isom
ac21b5657b Add auto disconnect 2020-03-16 20:14:15 -05:00
Max Isom
2875c6ceb8 Add pause/resume 2020-03-15 19:30:07 -05:00
Max Isom
3c169d113c Add forward seek 2020-03-15 15:35:34 -05:00
Max Isom
bf0843dd1d Don't cache livestreams 2020-03-15 15:13:12 -05:00
Max Isom
3408c7a0c2 Use manager instances for guild services 2020-03-15 14:36:59 -05:00