Commit graph

22 commits

Author SHA1 Message Date
07045d8e09
Migrate to TypeScript, minor changes and fixes (#46)
* docs: linting, require bun for ts

* rf: js -> ts

* chore: bump

* docs: add ts badge

* chore: bump types

* fix: add types for context to animal commands

* [m] hf: add bot type

* fix/types: add bot, ctx types, fix emoji on /dice cmd, add todo

* fix/types: bot admin checking fixes, other misc fixes, add types

---------

Co-authored-by: Lucas Gabriel <lucmsilva651@gmail.com>
2025-04-29 16:39:10 -03:00
Luquinhas
5a1a207d0a
Refactor plugins 2025-04-20 12:35:25 -03:00
Luquinhas
31cfc01f2f
Update all references to lib-spamwatch 2025-04-15 19:12:21 -03:00
Giovani Finazzi
7120644945
fix: yt: set cookies for check_size args (#35)
Co-authored-by: Aidan <aidan@p0ntus.com>
2025-04-14 20:59:11 -04:00
62e7a1393b feat: better error handling and fixed file size checking for /yt 2025-04-14 19:58:36 -04:00
Luquinhas
3814a49128
Added more error statuses 2025-01-10 14:32:21 -03:00
Luquinhas
3083db69ef
Add error status to uploadErr 2025-01-10 14:25:44 -03:00
Luquinhas
b465ba29dd
Some misc changes 2025-01-10 12:27:55 -03:00
Luquinhas
31c69ab6c6
Put all strings of YouTube downloader on another JSON object 2025-01-10 11:36:57 -03:00
Luquinhas
d1494fbd80
Added more variations of /yt command and improved help for it 2025-01-10 10:02:00 -03:00
Luquinhas
ae8be193f5
Better error handling when sending a too large video 2025-01-10 09:54:38 -03:00
Luquinhas
ac7d6f69d1
Fixed buggy video caption on youtube.js 2025-01-10 09:49:58 -03:00
Luquinhas
901e5ab98a
Some general changes on strings 2025-01-10 09:24:28 -03:00
Luquinhas
a36e1825b9
Improved error handling on youtube.js 2025-01-10 09:21:37 -03:00
Luquinhas
5d838095b2 Add support to /sdl 2024-12-15 18:36:03 -03:00
GiovaniFZ
94eb75e204
chore: set return 0 if approxsize is undefined for some cases
this fixes if user tries to download an Instagram video for example
2024-12-14 15:48:46 -03:00
GiovaniFZ
7c8dba27f9
feat: Show error properly to the user on yt command 2024-12-14 15:30:26 -03:00
A Bunch of Computer Nerds
86e6664795 Simple fixes on youtube.js 2024-12-12 22:08:47 -03:00
Giovani Finazzi
28c2c2b649
fix: try to fix yt-dlp command (#24)
* gitgnore: Don't commit plugins

* youtube: fix for command w/o cookies
2024-12-12 22:01:10 -03:00
A Bunch of Computer Nerds
6528c9e015 Updated gitignore + some changes in youtube.js 2024-12-09 15:06:01 -03:00
A Bunch of Computer Nerds
4955e40353 Making cookies properly work 2024-12-08 22:04:32 -03:00
Luquinhas
1072b641c8 Moved everything to /src 2024-12-08 19:55:35 -03:00
Renamed from commands/youtube.js (Browse further)