Public data is still Personal Data!
Just because it's visible to everyone on the server doesn't mean GDPR protections no longer apply to it.
If you're developing a bot for Stoat, you need to follow the GDPR.
This is less frightening than it sounds.
This website is an informational guide only, prepared with the very best Googling available. Readers are advised that they may crosscheck any information on this website with the website of the European Data Protection Board.
This website is also unaffiliated with Stoat, although they're very cool people.
This page was last modified on 09 October 2026
The GDPR covers what it calls Personal Data, known in other jurisdictions as "Personally Identifiable Information", as it tends to describe information that can be used to identify a person. Some items that are considered personal data are obvious:
However, some are less obvious. These are still generally considered to constitute personal data by the European Union, because they can be easily tied back to specific people:
Just because it's visible to everyone on the server doesn't mean GDPR protections no longer apply to it.
GDPR protections also apply to Pseudonymous Data. If your bot stores user IDs with a hashing algorithm, ex. some sort of hash(account_id, key, salt), that may be considered a good protection against data leaks, but it can still be considered Personal Data. This is because if the pseudonymous data is ever leaked, a sufficiently motivated attacker could still use it to tie the data back to a particular person.
Let's clear up one misconception before we move on.
That's not correct. The GDPR does not forbid you from using a user's personal data. Think of it more like a set of responsibilities you agree to take on so that users can trust your bot to handle their data carefully and appropriately.
Fortunately, most of the details are generally considered to be good software engineering practices anyway.
Generally speaking, when designing your bot, consider what information you actually need, especially when storing it in the long term. But let's look at that in more detail.
This is the first question most of us ask.
The legalese on a lot of resources can be confusing, since most GDPR protections were written with large multinational corporations in mind; and on the assumption that the data might be collected for reasons other than the users' best interests. So to simplify, instead of asking "what am I allowed to store", it's better to approach the question from the user's point of view.
For a Stoat bot, you probably have what is called a Legitimate Interest in allowing personal data to be used. There's no full list of every possible example of a legitimate interest, but the bot owner should provide some proof of the following:
Consent is another legal basis for a bot to use your personal data. If a developer wants to store more data than is necessary for your legitimate interest, like for logging or analytics, they may request your consent to do so. However, they must explain exactly what additional data they want to collect, you should be separately informed about its collection, and you must be able to freely refuse or withdraw your consent for the usage of this additional personal data.
However, asking for your consent is not actually necessary for anything justified as your legitimate interest, if there's no other way for you to use the bot.
Let's take a look at an abridged example from the Creative Commons Privacy Policy.
5. Legal Basis for Processing Personal Data
The laws in some jurisdictions require companies to tell you about the legal ground they rely on to use or disclose information that can be directly linked to or used to identify you. To the extent those laws apply, our legal grounds for processing such information are as follows:
- Legitimate Interests. In many cases, we handle information on the ground that it furthers our legitimate interests in ways that are not overridden by the interests or fundamental rights and freedoms of the affected individuals, these include:
- Customer service
- Marketing, advertising, and fundraising
- Protecting our users, personnel, and property
- Managing user accounts
- Organizing and running events and programs
- Analyzing and improving our business
- Managing legal issues
Borrow some phrasing if that's helpful. For instance, a Stoat bot might have a legitimate interest like the following:
Processing and Storage of Personal Data
We may use your Stoat account ID on the grounds of legitimate interest in providing the services of the bot. This legitimate interest is not overridden by the interests or fundamental rights and freedoms of the affected individuals. Data that may be processed includes:
- Username
- Account ID
- Message contents
Additionally, the following data may be stored to allow you to continue to use the services of the bot:
- Account ID
You may request to access a copy of all personal data that has been stored by contacting the bot's controller at [email protected]. You may also request deletion of your data. You may also have the right to go to a legal authority for your region within the European Economic Area ("EEA") and other jurisdictions, but we encourage you to contact the bot's controller first so your request may be resolved as best and as promptly as they can.
Not all countries follow the data protection laws of the European Union. You will need to disclose in your privacy policy if the data is going to either be stored or processed outside of the European Economic Area; basically, if you intend to run your bot outside of the EU, Norway, Liechtenstein, or Iceland, you will need to disclose that.
The European Data Protection Board has a page covering international data transfers. In particular, you'll want to check the list of countries considered adequate by the European Commission for their legal ability to comply with GDPR requirements, and note whether the country where your bot is running is one of them or not.
You only need an international data transfer section if your bot is sending personal data outside of the EU, Norway, Liechtenstein, or Iceland, either because it's hosted outside of those countries, or because you call third-party services outside of those countries.
International data transfers
The bot is primarily run from the Netherlands and Germany. However, your personal data may be transferred to servers in the following countries covered by European Commission adequacy decisions:
- New Zealand
- Japan
Additionally, some personal data may be processed in Singapore, which is not subject to a European Commission adequacy decision.
Yes! The GDPR doesn't prohibit information transfer between Europe and the United States; if you intend to host the bot yourself, you do need to make it clear that it's being processed in the United States, a jurisdiction that lacks some of the personal data protections afforded by law in Europe.
However, that doesn't mean that you can't guarantee you'll protect the user data. If you're hosting your own bot, you need to make sure you're hosting it on a trusted computer you own and keep secure. If you're using a third party host, consider finding one that is subject to the EU-US Data Privacy Framework, which is a special kind of EU-friendly hosting offered by some US hosting providers.
Alternatively, consider using cloud hosting in an EU country; Stoat themselves use services run by Hetzner and Ionos. Magpie Haus is hosted on Hetzner in Germany. Readers are reminded that other hosting services are available.
We can borrow some phrasing again from the Creative Commons, with a few modifications to make it more relevant.
International data transfers
The bot is primary hosted on a computer located in the American state of Washington. Your personal data will be processed in the United States, which may not offer the same level of protection as the privacy laws of your jurisdiction. The bot's controller will take appropriate measures to protect your information adequately in accordance with this privacy policy and other data protection laws.
It's important to remember that you can have a legitimate use basis for storing a user's data when they first use your bot, but that use may change if they stop interacting with your bot. In that case, you will also want to specify how long you retain that data. It would be a good idea to automatically remove user data if they haven't been interacting with your bot regularly, or if your bot is specific to one server, remove their data if they leave the server.
There is no magical time limit at which data must be removed. You need to come up with a data retention policy that you believe is appropriate for your bot specifically, and make sure users know what it is.
We should have enough background information to get started. A privacy policy for a Stoat bot doesn't need to be 80 pages long. Actually, it's probably better if you keep it short and in language normal people can understand; you'll probably get fewer questions that way, and it's the nice thing to do for your users.
You'll want to make sure you can put the privacy notice somewhere that's easily accessible. It might be a good idea to host it alongside your code on Codeberg or GitHub (readers are again reminded that other code hosting services are available). Then, you can include a link to the document with the bot itself, either in the profile or with some sort of "privacy" command.
As one more note, you will need to provide some real contact information for GDPR inquiries to reach you, or whoever is controlling the bot. The easiest way to do this is likely to provide an email address. If you're worried about this, you can use a dedicated email address that forwards to your normal address, or another inbox that you can check regularly. But you can't provide false information on the privacy policy.
Let's pull together what we've covered in past sections into an example privacy policy. In this case, the bot is hosted on a German server, but it uses a Japanese service for weather forecasts if the user accesses the weather command. WeatherBot doesn't store the user's location; this was done for data minimization purposes, since it wasn't really necessary to store it permanently.
The bot's developer, WeatherFan#8920, is American and keeps encrypted backups of the server's data on their desktop in the United States.
About WeatherBot
WeatherBot is a bot available on the Stoat chat app. Users may interact with it using commands to receive their local forecast for the next 24 hours, or the long-range 7 day forecast.
Processing and Storage of Personal Data
WeatherBot may store or process your personal data on the grounds of legitimate interest in providing the services of the bot. This legitimate interest is not overridden by the interests or fundamental rights and freedoms of the affected individuals. WeatherBot currently uses personal data for the following purposes:
- User preferences: The user's Stoat account ID will be used to track the units they prefer when receiving a weather forecast. This data will be stored for up to 1 year after the last time the user interacts with the bot.
- Location: The user's location is used to provide the relevant locale for the forecast. This data is not stored.
International data transfers
WeatherBot is primarily hosted by Hetzner in Germany, however, to provide weather forecasts, your location information may be shared with Weawow in order to provide a location-relevant forecast. Your location information will be processed in Japan, which is considered by the European Commission to offer an adequate level of data protection. Weawow may collect anonymized aggregate data for analytical purposes subject to their privacy policy.
Additionally, your account ID may be stored for backup and archival purposes in the United States. This jurisdiction is not covered by a European Commission adequacy decision for data protection, however the data controller will take reasonable precautions to protect the user data stored in the US, including encryption of the data being archived and ensuring the safety of the computer storing the backups.
Your Rights
The data controller for your personal data is WeatherFan (WeatherFan#8920 on Stoat). You may request to access a copy of all personal data that has been stored by WeatherBot via email at [email protected]. You may also request deletion of your data, either by email, or by clearing your saved settings from the bot.
You may also have the right to go to a legal authority for your region within the European Economic Area ("EEA") and other jurisdictions, but we encourage you to contact the bot's controller first so your request may be resolved as best and as promptly as they can.
As a reminder, this is a guideline only, and not specific legal advice.
One of the provisions of the GDPR is that a user has a right to request access to their personal data, and a right to request its deletion. This is one place where it can be either incredibly easy or incredibly difficult, depending on what data you're storing, and how. For a Stoat bot, if you are only storing account IDs in a database, complying with one of these requests may be as simple as running a single SQL query.
It's worth remembering that both kinds of GDPR requests are not rights for the user to receive an instant reply from an automated service. You can handle these requests manually via the email address as they come in; you should attempt to respond without undue delay, however. In particular, you have to respond within one month. When you respond to the data access request, you should also include the summary of how the data is processed and used from the privacy policy you wrote in Section 4.
Users can also request that you delete their data. In most cases, for a Stoat bot, this is probably because the user is no longer using the service. You'll need to ensure you remove anything that contains their personal data, which may also include logs, analytics, and backups if you keep personal data backed up.
Of particular interest on Stoat; if you receive requests via email, you'll want to have some mechanism to ensure you're actually providing the personal data to the correct person. This doesn't have to be complicated. You may wish to respond asking whether the person who sent the email can prove that they own the Stoat account they're making the request for. You should only respond to requests where you can reasonably determine that the request is legitimate, and if the person making the request refuses any means of identity verification, you're within your rights to say you won't comply with the request since it risks leaking somebody's personal data to an unknown party. In that case, they may escalate their complaint to a legal body, who may ultimately contact you for more information.
Acting in good faith is the key for these situations. And if you can manage it, automating the data access and deletion requests will likely make it even easier.
The website of the European Data Protection Board has a section specifically about how to reply to a GDPR request that may be useful. Some of the specifics for unlikely circumstances have been omitted from this document, but will be covered there.
Finally, it's worth mentioning that there is no legally required format for either the request or the response. Just be polite and reasonable.
This has been mentioned briefly, but it deserves further exploration. Specifically, data access and data deletion requests become more complicated as you store more personal data. It's always worth considering how much personal data you actually need to store for a user to make use of your bot. This goes beyond GDPR considerations as well; keeping only the data you absolutely need is generally considered a best practice.
For example, if your service collects analytic data, it may be tempting to record data like "User WeatherFan#8920 accessed the WeatherForecast feature 8 times in 20 minutes". But that means all of your analytics are now part of WeatherFan's personal data. So consider, do you actually need to know that it was WeatherFan who accessed the WeatherForecast feature? Or should you really only be collecting "the WeatherForecast feature was accessed 8 times in 20 minutes"?
Data minimization shouldn't be understood as an attempt to make every bot perfectly stateless. As we discussed at the top of this page, there are legitimate reasons why you may want to store some personal data, and your bot may really be improved by it. But as an engineer, always ask how little data you can get away with while still offering the features you want your bot to have.
You've read to the end, so here's a simple(ish) checklist before launching your bot.
If you update how your bot uses personal data after launch, you'll also want to revise your privacy policy.
If you have any feedback on this page, and especially if you notice a legal issue, please feel free to contact me on Stoat! My account is Assisting#5011