Commit graph

69 commits

Author SHA1 Message Date
9ac8d03a45
factory
Some checks failed
PR Check / lint-and-format (pull_request) Failing after 15s
2024-09-27 14:44:57 +02:00
bda3348aec
test
Some checks failed
PR Check / lint-and-format (pull_request) Failing after 14s
2024-09-27 14:44:27 +02:00
a23294fef1
test
Some checks failed
PR Check / lint-and-format (pull_request) Failing after 14s
2024-09-27 14:42:46 +02:00
3b090bdf92
test
Some checks failed
PR Check / lint-and-format (pull_request) Failing after 14s
2024-09-27 14:41:22 +02:00
2a1e691d62
fix time splitter when multiples options occurs
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 11s
2024-09-27 14:36:17 +02:00
be347ca896
fix test
Some checks failed
PR Check / lint-and-format (pull_request) Failing after 14s
2024-09-27 13:24:21 +02:00
b78ccb801f
fix issue 2024-09-27 13:13:13 +02:00
7de418362e
tests 2024-09-27 12:55:06 +02:00
f07d4d6756
find timezone based on locale
All checks were successful
Lint and Format Check / lint-and-format (pull_request) Successful in 10s
2024-09-24 19:32:23 +02:00
a08d0c0e9b
fix #100 (#180)
All checks were successful
Publish latest version / build (push) Successful in 1m30s
Close #100

We use Intl.DateTimeFormat to format the date, using the local provided from
1st: the guild info
2nd: the default lang used for Botanique

Reviewed-on: #180
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-24 18:37:04 +02:00
b1abeefad2
fix: time related issues (#179)
All checks were successful
Publish latest version / build (push) Successful in 1m44s
- cleanup some code
- fix #100 (finally!)
- update some dependencie
   There is an issue with thoses one:
    @typescript-eslint/eslint-plugin": "~8.7.0"
    @typescript-eslint/parser": "~8.7.0"

Reviewed-on: #179
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-24 18:07:27 +02:00
facf0cd88e
fix: citation issue (#178)
All checks were successful
Publish latest version / build (push) Successful in 2m2s
Reviewed-on: #178
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-23 19:33:21 +02:00
7fed94def8
chore: merge dev to main (#177)
All checks were successful
Publish latest version / build (push) Successful in 2m21s
Close #93
May fix #100

Reviewed-on: #177
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-23 17:51:22 +02:00
088693d2d2
feat: returns to @distube/ytdl-core (#176)
All checks were successful
Publish latest version / build (push) Successful in 2m11s
Close #170

Reviewed-on: #176
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-18 19:35:09 +02:00
e4d1e307df
fix: no longer get token from youtube (#174)
All checks were successful
Publish latest version / build (push) Successful in 2m10s
Close #173

Reviewed-on: #174
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-18 19:12:35 +02:00
767612a000
chore: merge dev to main (#172)
All checks were successful
Publish latest version / build (push) Successful in 2m2s
Reviewed-on: #172
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-18 18:25:03 +02:00
23d3918459
merge dev to main (#169)
All checks were successful
Publish latest version / build (push) Successful in 1m33s
Close #63
Close #78
Close #79
Close #137

Mutiples fixed, mainly aimed to reminder commands

Also add the Rich Presence, and fix a bug for forwarded messages

Reviewed-on: #169
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-17 22:57:55 +02:00
fdc081fd6d
merge dev to main (#168)
All checks were successful
Publish latest version / build (push) Successful in 1m32s
Close #161

Reviewed-on: #168
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-17 19:33:26 +02:00
dad41d3932
fix: don't use default bad value, assert instead (#166)
Some checks failed
Publish latest version / build (push) Has been cancelled
- no longer fallback to known-bad values
- fix build (related to typescript update finding new quirks)

Reviewed-on: #166
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-17 11:36:24 +02:00
d1e7d82488
chore: update dependencies (#163)
Some checks failed
Publish latest version / build (push) Failing after 1m28s
Close #162

Reviewed-on: #163
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-17 11:04:03 +02:00
223b393258
fix: prod (#160)
All checks were successful
Publish latest version / build (push) Successful in 1m31s
this comment has to be ignored for the production since dotenv doesnt exists in prod

Reviewed-on: #160
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-05 14:07:30 +02:00
8243ac7e31
chore: comments (#158)
Some checks failed
Publish latest version / build (push) Failing after 1m16s
take from #154 e43234f790 0747c3ebe4

Reviewed-on: #158
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-04 13:26:05 +02:00
110142c2e7
feat: use internal sharding (#157)
All checks were successful
Publish latest version / build (push) Successful in 1m35s
ref: #148

better than #154 since botanique is a small bot

Reviewed-on: #157
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-04 13:12:35 +02:00
47236cb63c
chore: comments (#156)
Some checks failed
Publish latest version / build (push) Has been cancelled
i am maniac

Reviewed-on: #156
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-04 13:01:17 +02:00
fd60b91ffe
chore: upgrade to discord.js 14.16 along with other dependencies (#149)
All checks were successful
Publish latest version / build (push) Successful in 1m47s
see #146

Reviewed-on: #149
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-04 09:20:09 +02:00
8f9cdbe753
fix lyrics (#144)
All checks were successful
Publish latest version / build (push) Successful in 1m31s
dont crash when there is not lyrics

Reviewed-on: #144
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-08-12 23:15:04 +02:00
fe38841bf6
fix: synced lyrics (#143)
All checks were successful
Publish latest version / build (push) Successful in 1m36s
Reviewed-on: #143
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-08-12 22:34:29 +02:00
3e43eddc8e
feat: synced lyrics (#142)
All checks were successful
Publish latest version / build (push) Successful in 2m10s
Close #134

Implement synced lyrics

Reviewed-on: #142
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-08-12 17:54:36 +02:00
3e626b8b0e
update dependencies and use new youtube extractor (#138)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
Reviewed-on: #138
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-07-31 13:47:47 +02:00
08edce2bb1
merge dev to main (#133)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
TODO: remove temporary dependencie @web-scrobbler/metadata-filter
Reviewed-on: #133
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-06-01 21:51:35 +02:00
da300386ce
chore: update dependencies (#130)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
- [x] Update dependencies
- [x] Reformat files accordingly to the latest prettier version
- [x] Add a rule to format files (older one was just checking)

Reviewed-on: #130
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-04-02 00:11:54 +02:00
e8a7174a4e
Fix crash due to value response of autocompletion (#111)
All checks were successful
ci/woodpecker/manual/publish Pipeline was successful
ci/woodpecker/push/publish Pipeline was successful
Max value of .value field is 100

Reviewed-on: #111
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2023-11-21 20:41:00 +01:00
c416e2371c
feat: Lyrics romanized mode (#109)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
Close #101

Reviewed-on: #109
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2023-11-08 00:10:02 +01:00
912407b446
add silenceremove filter (#107)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
Reviewed-on: #107
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2023-09-03 19:31:44 +02:00
7595273822
Resolve crash when data.name exceed the length limit (#104)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
Reviewed-on: #104
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2023-08-19 20:38:19 +02:00
d039c064b7
feat: enchance autocompletion & more (#103)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
- Fixing autocompletion crash
- Increase autocompletion response from 10 to 25
- Remove search constraint introduced in #97

Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #103
2023-08-08 22:28:53 +02:00
0904bd0d98
Update dependencies and fix a reminder bug (#102)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
- Update dependencies
- Resolve a minor bug with reminders

Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #102
2023-08-06 20:34:25 +02:00
309d73d03d
Change default extractor (#97)
Some checks failed
ci/woodpecker/push/publish Pipeline failed
Close #84

We use youtube for the search in `/play` BUT spotify is used for the autocompletion
As always, either YoutubeSearch or SpotifySearch retrieve music from youtube

Reviewed-on: #97
2023-08-06 19:31:08 +02:00
ed03a14323
chore: merge branch dev to main (#94)
- Remove debug log
- Fix various errors about `play` autocompletion (empty query, max timeout)
- Update dependencies (resolve deprecation of `autoRegisterExtractor`)

Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #94
2023-04-27 22:11:28 +02:00
751c1f1161
fix crash on citation with empty msg (only asset) (#92)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #92
2023-04-25 13:30:00 +02:00
d3cd6e1346
fix: could not extract stream for this track (#91)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
Resolve https://github.com/Androz2091/discord-player/issues/1705

- Update deps
- Load env file BEFORE importing depedencies
- Now force the usage of play-dl

Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #91
2023-04-07 03:12:54 +02:00
acaab12450
Label of following songs showed only on second element of first page or first element of other pages (#89)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #89
2023-03-18 19:50:08 +01:00
b0fda1d167
Fix first element of queue list (#88)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
Follow up of #85

Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #88
2023-03-18 19:42:29 +01:00
21d9c7e8e7
Fix: Queue listing starting at 26 (#87)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #87
2023-03-18 19:33:27 +01:00
f1d4abff23
Fix music queue numerotation (#86)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #86
2023-03-18 19:27:18 +01:00
e6fbca485b
bump sqlite from 5.1.4 to 5.1.6 (#82) [skip ci]
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #82
2023-03-15 13:25:00 +01:00
b585b15959
update to discord-player-v6 (#76)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
- Resolve #65
- Update domain name
- Add autocompletion support
- Use debian instead of alpine based image

Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #76
2023-03-11 20:36:25 +01:00
d521a2fe8c Feat: Author in music stuff (#75)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
Add author in lyrics auto search
Add Authors in nowplaying, queue, trackstart event

Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #75
2023-02-20 18:43:41 +01:00
db5aff64c8 feat: Better message in music category (#74)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
- Show repeat mode
- Show current track
- Add progressbar in nowplaying
- Better error message (text)
- Better error message (style)
- Embed when its better

Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #74
2023-02-17 23:06:18 +01:00
883c91d4cd fix: lyrics crash (#70)
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: #70
2023-02-13 22:32:03 +01:00