Equicord/src/equicordplugins/triviaAI
YashRaj c3a84e4021
feat: add a plugin to solve discord trivias using ai (openai compatible endpoints) (#788)
* feat(triviaAI): initial commit

* feat(triviaAI): configurable api endpoint

* feat(triviaAI): better descriptions and stuff ig

* feat(triviaAI): add decancer support

* chore(triviaAI): set autorespond to false by default

* refactor: use logger instead of console.log

* chore: ai wants periods

* unfeat: remove decancer because no external libs

* chore: consistent imports

* refactor: readability

* refactor: error handling

* refactor: simplify loop

* refactor: import insertTextIntoChatInputBox from @utils/discord

* feat: ok maybe toasts are not unnecessary

* feat: check if api key, endpoint or models are set before doing anything

* refactor: remove too many if statements
2026-02-24 22:02:23 -05:00
..
index.tsx
settings.ts
utils.ts