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

Automatic PDF to Image conversion #65

Open
tjhubz opened this issue Oct 19, 2022 · 0 comments
Open

Automatic PDF to Image conversion #65

tjhubz opened this issue Oct 19, 2022 · 0 comments
Labels
improvement Improve existing functionality or add new features

Comments

@tjhubz
Copy link
Owner

tjhubz commented Oct 19, 2022

Many promotional images intended for online distribution are unfortunately in PDF form. This can confuse some RAs and users when attempting to post these files. While converting PDFs to images can be done easily, some users may not understand this or know how. this feature would seek to streamline this process.

Process

  1. When a PDF is posted, it will delete the message and DM the user a message stating that their message contained a PDF, which isn't supported. It will then state that it will convert the PDF.

    • If user DMs cannot be reached, it will post a temporary (10 second) message (ideally ephemeral) tagging the user stating that they posted a PDF and telling them to enable DMs.
  2. It will then automatically convert the PDF and send the user the image as well as their original message so that they can repost their message

@tjhubz tjhubz added the improvement Improve existing functionality or add new features label Oct 19, 2022
@tjhubz tjhubz added this to PittBOT Oct 19, 2022
@tjhubz tjhubz moved this to Todo in PittBOT Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improve existing functionality or add new features
Projects
Status: Todo
Development

No branches or pull requests

1 participant