Commit graph

107 commits

Author SHA1 Message Date
4d540078f5 add postgres db, use settings and user data, lots of cleanup and logic fixes, bug fixes, better error handling, update docs and docker
Some checks are pending
njsscan sarif / njsscan code scanning (push) Waiting to run
Update AUTHORS File / update-authors (push) Waiting to run
2025-06-30 02:04:32 -04:00
765b1144fa allow changing models from .env, update docs 2025-06-28 16:04:53 -04:00
61d5cc75b6 error handling fixes 2025-06-28 15:48:55 -04:00
Lucas Gabriel
81294f5721
[FEATURE] Add AI-based /ask command (complementing #54) (#56)
* docs: add ai documentation

* docker: update docker files for ai/regular versions, lint

* feat: add initial /ask command

* Delete docker-compose.yml

* docker: ignore ollama folder in builds

* fix: add emojis to help commands, capitalize, add ai commands to help menu

* feat: add better logging, thought handling improvements

* bug fixes, better logging and seperation of ai, update docs for ai

* clean, remove prompt and user info from logs, more docs edits

* system prompt change (plaintext only), parse out /think

* clean up, axios tweaks

* cleanup, logging of ratelimit

---------

Co-authored-by: Aidan <aidan@p0ntus.com>
2025-06-28 19:22:15 +00:00
0c364a1814 KOW-2 cleaner search and better codename search w/ fallback, export codename search 2025-06-27 19:03:38 -04:00
ea0ae1a47d KOW-7 fix: better validation 2025-06-27 18:19:30 -04:00
88e1f9fb42 fix: notify if bot activity detected by video provider 2025-06-22 17:07:48 -04:00
8153ac2f33 fix/feat: output real error in console only, add more yt logging, url validity checking 2025-06-22 16:50:45 -04:00
Giovani Finazzi
3338698576
KOW-8: Display a message when searching for a pony (#59) 2025-06-22 19:24:39 +00:00
Giovani Finazzi
b8e13bbbff
KOW-3 Fix TMA validation (#58) 2025-06-06 14:42:37 -03:00
2d0afae703 KOW-6 add addl /httpcat validation 2025-05-27 23:07:24 -04:00
7083f0a10c KOW-4 [m] /random should pick 1-10, not 1-11 2025-05-27 23:00:15 -04:00
07a6cb2ba8 KOW-10 /yt supports more urls and should not be validated yet 2025-05-27 22:54:43 -04:00
d373f44ca1
Revert "[FEATURE] Add /ask command (#54)" (#55)
This reverts commit 4f88a85ccb.
2025-05-08 00:04:16 -03:00
4f88a85ccb
[FEATURE] Add /ask command (#54)
* docs: add ai documentation

* docker: update docker files for ai/regular versions, lint

* feat: add initial /ask command

* Delete docker-compose.yml

* docker: ignore ollama folder in builds

* fix: add emojis to help commands, capitalize, add ai commands to help menu

* feat: add better logging, thought handling improvements
2025-05-07 15:40:21 -03:00
404a801c61 fix: fix params 2025-05-02 20:16:36 -04:00
Giovani Finazzi
87c987c16d
ref: replace "ctx.from.language_code" with a function to get the language code and fix ts implementation for "reply_to_message_id" (#51)
Co-authored-by: Lucas Gabriel <lucmsilva651@gmail.com>
2025-05-02 20:08:13 -04:00
Giovani Finazzi
6dce40d333
fix chatinfo in dms (#52) 2025-05-01 16:38:38 -03:00
8de4f4067e feat/fix/rf: add types, no api key handling in weather cmd, misc fixes 2025-04-29 20:02:18 -04:00
19ce5295b1 feat: add checking and logging for valid yt url 2025-04-29 19:27:08 -04:00
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
4756e202be
Update some strings and cleanup unused commands 2025-04-29 16:11:48 -03:00
Luquinhas
5a1a207d0a
Refactor plugins 2025-04-20 12:35:25 -03:00
Giovani Finazzi
bdb4a4f7a2
ref: create separated verifyUserInput function again because it was not added by git before (#44)
Co-authored-by: Aidan <aidan@p0ntus.com>
Co-authored-by: Lucas Gabriel <lucmsilva651@gmail.com>
2025-04-20 12:24:56 -03:00
Giovani Finazzi
3f5814f6e4
fix: back on help (#43)
* fix: back on help

* Fix back on help

Closes #43.
Co-authored-by: Giovani Finazzi <53719063+GiovaniFZ@users.noreply.github.com>

---------

Co-authored-by: Luquinhas <lucmsilva651@gmail.com>
2025-04-20 12:16:56 -03:00
Luquinhas
d4736a52b7
Fix none strings 2025-04-20 11:54:57 -03:00
Luquinhas
175e7104b2
Fix /mlpcomic faulty letterer string 2025-04-20 10:42:20 -03:00
Lucas Gabriel
8aaa60e78d
Revert "ref: create separated verifyUserInput function (#34)" (#42)
This reverts commit 12ca87f4fe.
2025-04-19 23:52:51 -03:00
Luquinhas
3d125ffbf9
Merge Kowalski with TwilightSparkle + fixes/changes 2025-04-19 23:29:50 -03:00
Giovani Finazzi
867a1f8a66
fix: cat command (#41) 2025-04-17 22:11:19 -03:00
Giovani Finazzi
12ca87f4fe
ref: create separated verifyUserInput function (#34)
Co-authored-by: Aidan <aidan@p0ntus.com>
Co-authored-by: Lucas Gabriel <lucmsilva651@gmail.com>
2025-04-15 19:40:48 -03:00
Giovani Finazzi
e252a97696
fix: username on phone details (#40) 2025-04-15 19:39:52 -03:00
Luquinhas
31cfc01f2f
Update all references to lib-spamwatch 2025-04-15 19:12:21 -03:00
Luquinhas
924ca1aae4
Add variable bot privacy policy link + change config.env.example style 2025-04-15 01:06:50 -03:00
4e4232c45e
hf: replace all ">" and "<" in username (#37) 2025-04-15 00:37:59 -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
935385eb4f hf: use global regex instead 2025-04-14 19:37:43 -04:00
GiovaniFZ
68766d5a6d
fix: fix for username with html tags 2025-04-06 12:30:51 -03:00
Luquinhas
0fc4b0f217
Moved /soggy command to animal.js 2025-03-08 18:49:16 -03:00
Giovani Finazzi
ad7feeee9a
feat: improve furry and gay commands by sending the percentage (#33) 2025-02-15 16:58:35 -03:00
Luquinhas
5b78e542de
Make all animal commands into one file 2025-02-08 21:25:09 -03:00
Luquinhas
f8c54da5a2
Random duck image 2025-02-08 20:57:15 -03:00
Luquinhas
f01feb7468
Random fox image 2025-02-08 20:51:21 -03:00
Luquinhas
4e49350550
/quote deprecated 2025-02-08 20:45:52 -03:00
Luquinhas
ac73a1fde8
Fixes for spacing on /mlpep and /mlpcomic 2025-02-08 01:06:43 -03:00
Luquinhas
db1eba2346
Fixed /mlp 2025-02-08 00:19:28 -03:00
Luquinhas
d4dfe160e1
Add /rpony + polishment on other commands 2025-02-08 00:14:10 -03:00
Luquinhas
2d02e6213f
All APIs on resources.json 2025-02-07 23:37:09 -03:00
Luquinhas
d33ed0afcb
Uncommented /mlpcomic + some changes on help 2025-01-24 21:28:31 -03:00