Commit Graph

58 Commits

Author SHA1 Message Date
PalmDevs
fd76e0af72 feat(bots/discord): sanitize BasicDatabase inputs 2024-06-24 18:23:32 +07:00
PalmDevs
6abb740994 feat(bots/discord): improve logs 2024-06-24 18:23:31 +07:00
PalmDevs
faf1e5fc78 chore(bots/discord): remove dupe response 2024-06-24 18:23:30 +07:00
PalmDevs
7f27c5607c fix(bots/discord): remove usage of macros 2024-06-24 18:23:30 +07:00
PalmDevs
a277ac53fd docs(bots/discord): add note for ocrTriggers config 2024-06-24 18:23:30 +07:00
PalmDevs
b09dc24f33 chore(bots/discord): add revanced config, remove dev config 2024-06-24 18:23:30 +07:00
PalmDevs
e4054ee4af chore(bots/discord): include all ts files in tsconfig 2024-06-24 18:23:29 +07:00
PalmDevs
744a56a4fd feat(bots/discord): add ocrTriggers resp config, embed footer scan mode 2024-06-24 18:23:29 +07:00
PalmDevs
b104472e47 docs(bots/discord): add docs 2024-06-24 18:23:29 +07:00
PalmDevs
9f1ac37927 feat(bots/discord/commands/reply): send stacktrace when failed 2024-06-24 18:23:28 +07:00
PalmDevs
8b690b879b feat(bots/discord/utils): allow loading commands from custom dir 2024-06-24 18:23:28 +07:00
PalmDevs
7eeb631270 chore(bots/discord): reduce footprint of functions 2024-06-24 18:23:28 +07:00
PalmDevs
a68d726875 feat(bots/discord): add a better way to manage databases 2024-06-24 18:23:28 +07:00
PalmDevs
f9d50a0a6b feat(bots/discord): add source 2024-06-24 18:23:27 +07:00
reis
8b9f45dc22 feat: refactor and new features (#7)
* feat: refactor and new features

+ Refactored the codebase
+ OCR support in bots
+ Server sends training data every minute
+ Not using collectors for Discord feedback buttons anymore
+ Fixed grammar mistakes
+ Configs are now seperated
+ Tokens are no longer in configs
- Like feedback doesn't work for Discord yet

* feat: remove feedback button once voted

* feat: role blacklist

* feat: thread name check

* feat: error handler for training

* fix: bot crashing when a webhook msg is sent

* refactor: remove debugging lines

* feat: allow fixing mistake at votes in discord bot
2023-06-23 21:29:00 +03:00
GramingFoxTeam
f5214a6ace refactor(discord-bot): delete trainAI command 2023-03-25 14:21:07 +03:00
reis
bfed9f8480 build(deps): bump undici from 5.14.0 to 5.19.1 in /bots 2023-03-23 15:40:56 +03:00
GramingFoxTeam
85eba55424 fix: dislike button not working properly 2023-03-21 19:57:22 +03:00
GramingFoxTeam
a9ff00394a fix: fix the fiter for the interaction collector 2023-03-21 18:09:05 +03:00
GramingFoxTeam
6551ca9dad feat: message buttons for training 2023-03-20 23:51:53 +03:00
GramingFoxTeam
4373ede855 fix: fix deprecation 2023-03-20 21:33:01 +03:00
GramingFoxTeam
715aa918cf feat: training and replies changed 2023-03-20 21:28:52 +03:00
GramingFoxTeam
1909e2c421 feat: add wit.ai support 2023-03-19 22:24:29 +03:00
dependabot[bot]
a9b263d9ac build(deps): bump undici from 5.14.0 to 5.19.1 in /bots
Bumps [undici](https://github.com/nodejs/undici) from 5.14.0 to 5.19.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.14.0...v5.19.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 23:05:05 +00:00
GramingFoxTeam
84a290933f feat: run only one bot when bot name given 2022-12-25 16:07:13 +03:00
GramingFoxTeam
ca52b15280 fix: node_modules being treated as a bot folder 2022-12-25 15:52:51 +03:00
GramingFoxTeam
cd7156e792 fix: move modules to /bots 2022-12-25 15:51:09 +03:00
GramingFoxTeam
474a8be4af fix: config file not being read 2022-12-25 15:46:58 +03:00
GramingFoxTeam
d26d533174 feat: run bots in one process 2022-12-25 15:45:40 +03:00
GramingFoxTeam
0ba525c4a5 feat: GODEL AI 2022-12-25 12:49:16 +03:00
GramingFoxTeam
18e57b0c32 feat: platform specific responses 2022-11-19 13:04:10 +03:00
GramingFoxTeam
8d478a5d8b fix(telegram-bot): check for admin first 2022-11-18 21:30:34 +03:00
GramingFoxTeam
e84edd3cd9 refactor(reddit-bot): don't use global variables 2022-11-18 15:44:41 +03:00
GramingFoxTeam
551891e4c3 style: run prettier and eslint 2022-11-18 15:29:58 +03:00
GramingFoxTeam
939b83531d refactor(telegram-bot): don't use global variables 2022-11-18 15:27:48 +03:00
GramingFoxTeam
3d549f1292 refactor(discord-bot): don't use global 2022-11-18 15:07:12 +03:00
GramingFoxTeam
d332043b1a fix(discord-bot): check for role position 2022-11-18 12:47:56 +03:00
GramingFoxTeam
cc54931d4e fix(reddit-bot): dont check for item creation date 2022-11-18 12:47:14 +03:00
GramingFoxTeam
aa0808768b fix(discord-bot): not executing slash commands 2022-11-17 16:14:05 +03:00
GramingFoxTeam
f0d45b2c92 fix(discord-bot): also execute slash commands 2022-11-17 16:03:40 +03:00
GramingFoxTeam
355a50803a feat(discord-bot): a way to train AI 2022-11-17 15:58:42 +03:00
GramingFoxTeam
72c99e5db9 fix(reddit-bot): not properly checking for mod 2022-11-17 15:02:47 +03:00
GramingFoxTeam
d42190e9b1 feat(reddit-bot): command and event handler 2022-11-17 14:57:00 +03:00
GramingFoxTeam
f5adcc83ca feat(reddit-bot): initialize 2022-11-17 12:45:42 +03:00
GramingFoxTeam
fc9dbef024 feat(telegram-bot): delete train command after cb 2022-11-17 11:51:07 +03:00
GramingFoxTeam
3ceacbc41b fix(telegram-bot): make labels readable 2022-11-17 11:44:49 +03:00
GramingFoxTeam
78037580dc fix(discord-bot): only send lowercased text 2022-11-16 18:09:42 +03:00
GramingFoxTeam
92571085b7 fix(telegram-bot): not checking for admin properly 2022-11-16 17:29:27 +03:00
GramingFoxTeam
9bff68c8c4 fix(discord-bot): check if the member has the role 2022-11-16 16:59:12 +03:00
GramingFoxTeam
3cbebc2842 fix: ignore message if there's no content 2022-11-16 16:44:49 +03:00