Privacy Policy
Last updated: November 29, 2026
PDF Viewer Bot is run by BotBoys LLC. It is a Discord bot that shows PDF files as page images. This page covers the bot and the website pdfviewerbot.com. It explains what we store, why, how long we keep it, and who else sees it.
How the bot handles messages
- The bot uses Discord's Message Content intent so it can see files attached to messages. Discord grants it to the bot itself. It is not a role permission in your server.
- The bot ignores the text you type. It does not save or log it. It acts only on attachments whose name ends in .pdf, and on links given to the /pdf command.
- When someone posts a PDF in a channel the bot can see, or in a DM with the bot, the bot downloads the file, opens it in memory and turns the pages into images. It never saves the PDF or the images to disk.
- The page images are posted in the same channel as Discord attachments. Discord stores them like any other attachment. We keep no copy.
- Deleting your message does not delete the session record described below. Its link and name are erased 7 days after the post, or sooner if you ask us.
What we store and why
- PDF session record: the PDF's link (the Discord attachment link, or the web link given to /pdf), the name shown on the post (the file name, or that web link), the server ID, the kind of viewer used, the page counts, the last page shown and the date. We use the link so the page buttons (Prev, Next, Go to Page, Copy Text, Plain Text, Summarize and Ask) can find the PDF again, including after the bot restarts, and the name as the title on what they post. We do not store who posted the PDF.
- Copies in memory: to answer button clicks quickly, the bot keeps a few recent PDFs and their text, and the session records of up to 1,000 recent posts, in memory. It drops the oldest first. Within a little over an hour after a post turns 7 days old, the hourly cleanup removes its PDF and its text from memory and erases the link and the name from its session record. The emptied session record (no link, no name) can stay in memory until the bot restarts. A restart clears all of it. Nothing is written to disk.
- AI summaries: the summary text with a document-type label, its language, the page count and a fingerprint (a SHA-256 hash) of the PDF's text. We keep it so a second request for the same PDF does not send the text to Google again. A summary can quote short parts of a PDF.
- Summarize and Ask records: for every click on Summarize or Ask, in any server: the server ID, the Discord user ID of the person who clicked, which button it was, whether it worked (or why it did not), the page count and a short technical note such as the language. We use them to find out why a request failed and to check usage. They never hold the question, the PDF text, the summary or the answer.
- Server counters: how many pages the bot has posted on a server without a paid plan, how many AI pages a server has used this billing month, and when either count last changed. We use them for the 10-page free allowance and the monthly AI allowance. Pages posted in DMs are not counted.
- Subscriptions: for a paid server, the Stripe customer ID, the Stripe subscription ID, the Discord user ID of the person who paid, the plan and whether it is active. We use them to turn paid features on and off. The dashboard tells other admins of that server that someone else manages the subscription.
- Website login: the dashboard uses Discord login and asks only for your basic profile and your server list (the identify and guilds scopes). It shows only servers where you have Manage Server or Administrator. Your Discord login token is kept in a cookie in your browser for 7 days, or until you log out. We do not store it on our servers.
- Website visits: Vercel Web Analytics counts page visits (page, referrer, browser, device type and country). It does not use cookies.
- Logs: our hosts record log lines. The bot's own log lines hold server IDs, session IDs, outcomes and counts. We never write PDF text, file names, questions or user names into them. Error reports from the libraries we use can include technical details of a failed request. Railway keeps the bot's logs for up to 30 days. Vercel keeps the website's logs for no more than a few days.
What we do not store
- The text of your messages.
- PDF files, page images, or the PDF's own text in our database. AI summaries are kept for up to 30 days, as described above.
- Ask questions or answers.
- Card numbers or payment details. Stripe handles those. We do not store your email.
- We do not sell or rent any data. We share Discord data only with the services listed below, to run the bot.
What appears in your channel
- Page images, copied page text, summaries and answers are posted in the channel where the PDF was posted or where /pdf was used. Anyone who can read that channel can see them. Anyone who can see a PDF post can use its buttons.
- A summary shows "requested by" with the requester's display name. An answer shows the question and "Asked by" with the asker's display name. Menus (such as the language choice) and button errors are shown only to the person who clicked. If an uploaded PDF cannot be opened, the bot says so in a reply in the channel.
- When a server upgrades, the bot posts a short upgrade notice in the server's system channel (or its first text channel).
How long we keep it
- The PDF's link and the name on the post: erased from the session record 7 days after the post. The cleanup runs about once an hour, so it can take a little over an hour longer.
- The rest of the session record (session ID, server ID, viewer kind, page counts, last page shown, date): kept with no end date, for usage statistics. After 7 days it no longer holds the PDF's link or its name, and it does not hold who posted it.
- Everything in the bot's memory about a PDF or the people who used it: cleared within a little over an hour after 7 days (the cleanup runs every hour), and on every restart. The one exception is the session record without its link and name, which can stay in memory until the next restart.
- AI summaries: deleted within 30 days of being made.
- Summarize and Ask records: 90 days.
- Server counters and subscription records: no set end date, including after a subscription ends or the bot is removed. A server owner or admin can ask us to delete them.
- Ask questions and answers, page images, copied text and posted summaries: not kept by us beyond the above. They stay in your Discord channel until the message is deleted.
- Bot logs: up to 30 days.
- Website login cookie: 7 days in your browser, or until you log out.
- Database backups: our database host keeps backups for disaster recovery for 7 days, so erased data can remain in a backup for that long.
The bot erases old data on its own. It checks a minute or two after it starts and then every hour while it is running. Buttons on a PDF post stop working after 7 days at most, and often sooner for uploads, when Discord's own link to the file expires after about a day. Post the PDF again to use them.
Who we share data with
- Discord: runs the platform the bot lives on and the website login. Page images and posts go to Discord.
- Google Gemini: Ultimate servers only. See the next section.
- Supabase: hosts our database on Amazon Web Services.
- Railway: runs the bot and keeps its logs for up to 30 days.
- Stripe: processes payments. At checkout, Stripe receives the server ID and your Discord user ID so it can link the subscription to the server. Stripe collects your card details and email on its own page and keeps them under Stripe's Privacy Policy. Card details never reach our systems, and we do not store your email.
- Vercel: hosts pdfviewerbot.com and provides its visitor analytics.
- The website that a /pdf link points to sees a download request from our server, not from you.
We do not share data with advertisers or data brokers.
AI features and training
- Summarize and Ask work only on Ultimate servers, and only when someone clicks the button.
- Summarize sends the PDF's extracted text to Google's Gemini API. Ask sends the text of the most relevant pages and the question. We do not send images, file names, user names, user IDs or server IDs.
- We use Google's paid Gemini API. Google's terms for paid use say Google does not use the text we send, or its replies, to improve its products, and may keep them for a limited time to detect abuse. See Google's Gemini API Terms.
- We do not use your PDFs, messages or questions to train any AI model.
Security
- Our database is hosted by Supabase on Amazon Web Services. Supabase encrypts the stored data at rest.
- The bot and the website talk to Discord, Supabase, Google and Stripe over encrypted connections.
- Keys for our services are kept in our hosts' private settings, not in our code. Only our servers and our developers hold the database key, and only the developers can reach production systems.
- The website login cookie is set so that scripts on web pages cannot read it.
- If we learn of unauthorized access to Discord data, we will tell Discord and the affected users, as the Discord Developer Terms require.
Your choices and deleting data
- To keep the bot out of a channel, open that channel's settings and turn off View Channel for the bot. This stops the bot reading posts there. To stop /pdf in that channel too, turn the command off for it in Server Settings, Integrations, PDF Viewer Bot. The bot does not ask for Administrator. If someone gave it Administrator, channel settings will not hold it back, so take that away first.
- To stop the bot in a server, remove it from the server.
- The bot has no command to turn it off for one person. A member who does not want a PDF processed should not post it where the bot can see it.
- To delete your data or your server's data, ask in our support Discord server: https://discord.gg/KuChhE6K6Q. Tell us your Discord user ID, or the server ID. For a server, ask from an account that owns or manages it. Within 30 days we delete the matching records in our database: session records, Summarize and Ask records, server counters and subscription records. AI summaries are not tied to any user or server and expire on their own. Copies held by Discord or Stripe, and our hosts' logs, are not ours to delete. The logs expire within 30 days.
- Deleting a server's subscription record ends its paid features. The person who paid should cancel the subscription first, with the Manage button in the dashboard.
- Removing the bot does not delete stored data by itself. PDF links and names in session records, summaries and request records still expire on the schedule above. The rest of each session record, server counters and subscription records stay until you ask us to delete them.
- Discord requires its users to be at least 13 years old. We do not knowingly collect data from anyone younger.
- Depending on where you live, you may have the right to access, correct, delete or object to our use of your data. Ask us through the contact below.
Changes
If we change what we store or how long we keep it, we will update this page and the date at the top.
Contact
Questions about this policy? Ask in our support Discord server: https://discord.gg/KuChhE6K6Q. See also our Terms of Service.