hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
67 stars 44 forks source link

Discord Bot and Discord Bot Routes Semantics - Child of #5290 #5332

Open timolegros opened 1 year ago

timolegros commented 1 year ago

Child of #5290

Description

The discordConsumer.ts contains the following references to the Chains table:

Project Owner

@timolegros

Engineering Requirements

Acceptance Criteria

Additional context

rbennettcw commented 2 months ago

Already done.

timolegros commented 2 months ago

@rbennettcw I do not think this is complete. From what I can see we are using chain rather than community_id in post requests from the Discord bot. This is handled by the validateCommunityWithTopics middleware which looks for req.chain and req.community.