Commit Graph

81 Commits

Author SHA1 Message Date
PalmDevs
197d2acea8 feat(bots/discord): update config 2024-06-24 18:23:41 +07:00
PalmDevs
4aa138a9af fix(bots/discord/database): fix schema for role presets 2024-06-24 18:23:41 +07:00
PalmDevs
6658b582db fix(bots/discord): connect to discord API even if initial bot API connection fails 2024-06-24 18:23:40 +07:00
PalmDevs
c53a89ff99 chore(bots/discord): setup drizzle kit 2024-06-24 18:23:40 +07:00
PalmDevs
e204b7b756 feat(bots/discord): switch to drizzle-orm 2024-06-24 18:23:40 +07:00
PalmDevs
fa0159c3a8 fix(bots/discord): wrong command file path being imported 2024-06-24 18:23:39 +07:00
PalmDevs
348a18a401 chore: format workspace 2024-06-24 18:23:39 +07:00
PalmDevs
f2abae2350 chore: revert mistakenly replaced links 2024-06-24 18:23:38 +07:00
PalmDevs
6109842897 chore: change old contact info 2024-06-24 18:23:38 +07:00
PalmDevs
32a7fea294 chore: update dependencies 2024-06-24 18:23:38 +07:00
PalmDevs
35b944800a fix(bots/discord): use APIEmbed for response config 2024-06-24 18:23:37 +07:00
PalmDevs
c1e1953762 chore(bots/discord): add default config 2024-06-24 18:23:37 +07:00
PalmDevs
513c6b18f0 docs(bots/discord): fix oversight 2024-06-24 18:23:37 +07:00
PalmDevs
154bdbde3e chore: update and add README for projects 2024-06-24 18:23:36 +07:00
PalmDevs
ca475356ad feat(bots/discord/commands): allow process exception in exception-test 2024-06-24 18:23:36 +07:00
PalmDevs
7e5f6481c5 feat(bots/discord)!: read commit description
FEATURES:
- Updated documentation
- Improved configuration format
- Allow filter overriding for each response config (closes #29)
- Improved commands directory structure
- Improved slash command reload script
- New commands
- New command exception handling
2024-06-24 18:23:36 +07:00
PalmDevs
a9add9ea9a feat(bots/discord/utils): add duration utility 2024-06-24 18:23:35 +07:00
PalmDevs
2d794ede7d feat(bots/discord/utils/discord/embeds): expose applyCommonEmbedStyles fn 2024-06-24 18:23:35 +07:00
PalmDevs
f3e4408aa2 fix(bots/discord): check token before connecting to bot api 2024-06-24 18:23:35 +07:00
PalmDevs
da21e1a6f7 feat(bots/discord/utils/fs): use recursive option for listing files 2024-06-24 18:23:34 +07:00
PalmDevs
d830e48bc2 fix(bots/discord): remove useless feature 2024-06-24 18:23:34 +07:00
PalmDevs
e25fc7d3c5 chore: update contributor email 2024-06-24 18:23:33 +07:00
PalmDevs
3f8d0fd8ec chore: remove unused dependencies 2024-06-24 18:23:32 +07:00
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