Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Resume Review Bot #103

Open
2 tasks
nikgil opened this issue May 15, 2021 · 1 comment
Open
2 tasks

[feature] Resume Review Bot #103

nikgil opened this issue May 15, 2021 · 1 comment
Labels
feature New feature

Comments

@nikgil
Copy link
Member

nikgil commented May 15, 2021

Is your feature request related to a problem? Please describe

Problem: need #resume-review channel to only permit image files and no other types to reduce security risks

Describe the solution you'd like

Either or:

  • Send error message to sender and delete file
  • Parse file (if docx or pdf) and show image (this would be much more involved and idk if possible)

Describe alternatives you've considered

Possibly create a block inside discord itself if it allows rather than add overhead of another bot

Additional context

N/A

@nikgil nikgil added the feature New feature label May 15, 2021
@statico
Copy link

statico commented May 16, 2021

No need to parse -- modules like https://www.npmjs.com/package/file-type check the first few bytes of a file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

2 participants