discord connector (#3023)

* discord: frontend and backend poll connector

* added requirements for discord installation

* fixed the mypy errors

* process messages not part of any thread

* minor change

* updated the connector; this logic works & am able to docs when i print

* minor change

* ability to enter a start date to pull docs from and refactor

* added the load connector and fixed mypy errors

* local commit test

done!

* minor refactor and properly commented everything

* updated the logic to handle permissions and index active/archived threads

* basic discord test template

* cleanup

* going away with the danswer discord client class ; using an async context manager

* moved to proper folder

* minor fixes

* needs improvement

* fixed discord icon

---------

Co-authored-by: hagen-danswer <hagen@danswer.ai>
This commit is contained in:
Ishankoradia
2025-01-07 04:24:22 +05:30
committed by GitHub
parent 82eab9d704
commit ceb34a41d9
12 changed files with 434 additions and 0 deletions

BIN
web/public/discord.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB