spacebarchat / spacebarchat/server
Support for {files: [{file, name}]} structure while sending messages with attachments
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 323
- Avg merge
- 14h 48m
- Merged PRs (30d)
- 4
Description
Is your feature request related to a problem? Please describe.
The only way to send messages with images using a library like Discord.js is by using this dict structure when sending a message(e.g msg.reply({files: [{file: "filepath.png", name: "file.png"}])}), but Spacebar only supports the cloud upload dict structure for attachments, and so returns that required keys are missing in the request
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by locating the message-send handling and attachment validation, then compare the supported cloud upload structure with {files: [{file, name}]}. Done means messages using that structure are accepted without the missing-keys error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100