Irev-Dev / cadhub

We're out to raise awareness and put CodeCAD on the map. The success of CadHub can be measured by the amount it promotes the use of CodeCAD within the mechanical/manufacturing industry and the strength the CadHub community.
https://cadhub.xyz
GNU General Public License v3.0
316 stars 59 forks source link

Discord chat bot to announce projects (#590) #600

Closed smartin015 closed 2 years ago

smartin015 commented 2 years ago

Add support for discord chat bot to announce when images are set, with instructions on configuring for dev. This uses the REST API instead of a websocket connection, which is needed for serverless deployment.

This is a revert of the revert, with changes to discord.ts and an update of the axios web request library. I verified text-only and image URL publishing to a personal discord server.

Co-authored-by: Kurt Hutten k.hutten@protonmail.ch