Commit graph

76 commits

Author SHA1 Message Date
4ac6ec0a9d
add tests
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 20s
2024-10-14 23:21:10 +02:00
aee0557bb9
fix plural 2024-10-14 23:21:00 +02:00
f47d62faad
Fix crash
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 20s
2024-10-14 22:40:03 +02:00
c74a04ed41
typo
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 19s
2024-10-14 22:28:50 +02:00
ae3b7a2c0d
find a crash
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 19s
2024-10-14 22:24:12 +02:00
3a00874ce0
subdirectories in utils function, split the attachement handler into a function
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 19s
2024-10-14 22:23:43 +02:00
ddcf488be5
fix fields
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 21s
2024-10-14 22:10:26 +02:00
93548c0069
Check when we exceed char limit by splitting files into multiples field
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 22s
2024-10-14 21:29:01 +02:00
a8a0c36e51
default element 2024-10-14 21:23:29 +02:00
937627b879
fix missing locales (#188)
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 21s
2024-10-14 20:58:59 +02:00
bb2337cea0
don't try to fix the seconds difference
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 23s
2024-10-13 11:36:07 +02:00
5aa3991633
be sure to delete reminder after publishing it 2024-10-11 19:51:43 +02:00
2fcca576a6
add tests 2024-10-11 18:45:33 +02:00
74fdfb7626
chore: merge branch dev to main (#194)
All checks were successful
Publish latest version / build (push) Successful in 1m58s
- Revert #176 as it look the previous issues has been resolved (I'm 60% sure it will reappears, but it's still better than the scraping-based lib)

Reviewed-on: #194
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-10-08 20:55:16 +02:00
f9cc154b04
fix: docker (#191)
All checks were successful
Publish latest version / build (push) Successful in 1m30s
Reviewed-on: #191
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-27 21:57:15 +02:00
2cc6c0bd74
chore: merge dev to main (#181)
Some checks failed
Publish latest version / build (push) Failing after 1m15s
- close #100 - find timezone based on locale
- Add tests
- Add tests to CI
- Close #182
- Close #183

Reviewed-on: #181
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-09-27 20:49:36 +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