Commit graph

381 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
16f777ac63 [m] chore: bump 2025-06-22 16:25:13 -04:00
Giovani Finazzi
3338698576
KOW-8: Display a message when searching for a pony (#59) 2025-06-22 19:24:39 +00:00
Lucas Gabriel
ecf62327c4
Update .env.example 2025-06-12 10:13:05 -03:00
Lucas Gabriel
65ff0eb953
Create TERMS_OF_USE.md 2025-06-12 10:05:40 -03:00
Giovani Finazzi
b8e13bbbff
KOW-3 Fix TMA validation (#58) 2025-06-06 14:42:37 -03:00
Giovani Finazzi
72ebc0a4ff
[KOW-12] Remove unused youtube strings (#57) 2025-05-31 19:51:55 -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
fb3193c444 chore: bump 2025-05-27 22:43:14 -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
Luquinhas
eefe253bc6
Remove `winston, bump @dotenvx/dotenvx and change @types/node to @types/bun` 2025-05-02 22:40:11 -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
Lucas Gabriel
f69f576e24
Update dependabot.yml 2025-05-01 14:17:16 -03:00
f8298dcf53 [m] docs: add translations section 2025-04-29 20:27:47 -04: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
Lucas Gabriel
ac7119dee5
Update Dockerfile 2025-04-29 17:45:04 -03:00
Lucas Gabriel
d07cc0390f
Update Dockerfile - Bun instead of NPM 2025-04-29 17:42:39 -03:00
Luquinhas
2ce89efe7f
Update spamwatch lib reference 2025-04-29 16:55:43 -03: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
6fd5652afa
Add more commands to /help 2025-04-29 16:32:13 -03:00
Luquinhas
8f89c591c5
Remove unused commands from help 2025-04-29 16:14:04 -03:00
Luquinhas
4756e202be
Update some strings and cleanup unused commands 2025-04-29 16:11:48 -03:00
github-actions
9cebaad36f Update AUTHORS file automatically 2025-04-27 00:16:07 +00:00
0f9e7b9b0f Translated using Weblate (Portuguese)
Currently translated at 95.0% (95 of 100 strings)

Translation: Kowalski/GitHub
Translate-URL: http://weblate.librecloud.cc/projects/kowalski/github/pt/
2025-04-27 00:02:40 +00:00
Anonymous
f6a251512e Translated using Weblate (Portuguese)
Currently translated at 99.0% (99 of 100 strings)

Translation: Kowalski/GitHub
Translate-URL: http://weblate.librecloud.cc/projects/kowalski/github/pt/
2025-04-26 23:59:13 +00: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
Lucas Gabriel
d3e467b372
Fix help (#45)
* fix: back on help

* Fix back on help

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

---------

Co-authored-by: GiovaniFZ <giovanifinazzi@gmail.com>
2025-04-20 12:18:41 -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
39d327bb99
Merge branch 'main' of https://github.com/ABOCN/TelegramBot 2025-04-20 11:55:05 -03:00
Luquinhas
d4736a52b7
Fix none strings 2025-04-20 11:54:57 -03:00
Lucas Gabriel
f51485ce16
Update README.md 2025-04-20 11:37:19 -03:00
Lucas Gabriel
53577cd52a
Update LICENSE because it is not recognizable by GitHub anymore 2025-04-20 11:32:17 -03:00
2f063ad485
docs: add contributors 2025-04-20 10:11:59 -04:00
Luquinhas
5dcc9a6880
Add /mlpart to /help 2025-04-20 10:47:37 -03:00
Luquinhas
175e7104b2
Fix /mlpcomic faulty letterer string 2025-04-20 10:42:20 -03:00
Luquinhas
07f388e7ef
Linebreak before Fandom URL 2025-04-20 00:12:11 -03:00