wasurenakusa / engine

The modular ai conversation engine
GNU Affero General Public License v3.0
0 stars 1 forks source link

Add discord plugin #31

Closed chr1st0ph3rGG closed 1 week ago

chr1st0ph3rGG commented 1 week ago

Did a bit more than just implementing the plugin we now do more stuff with async in mind... underlying we are using anyio (in the hope that someday a discord lib exists that supports it (and it looks like for example discord.py will never support it, which does not matter as we are using interactions.py as it directly supports slash commands ) so for now we are locked to asyncio as underlying tech.

10 This MR implements the most crucial functionalities of the discord plugin. The /regenerate (and overall the ability for other addons to register slash commands will be added in another MR in the future (created a new issue just for that)