Privacy Policy - shinyfinder/chatot-smogon GitHub Wiki

Chatot ("bot") operates under accordance with the Discord Developer Terms of Service, the Discord Developer Policy, the global Discord terms linked therein, and all applicable privacy laws and regulations. By using Chatot, adding it to a server, or being in a server with it, you are signifying agreement with these global terms and those set forth below.

Collected data

The following user data may be securely saved to a database outside of Discord (henceforth, "stored") when required to carry out its functions, all of which are outlined on the Commands page:

  • Discord User ID (numeric account identifier)
  • Smogon.com forum User ID (numeric account identifier)

This data, in whole or in part, is collected and stored in the following cases:

  • When server staff takes action against your account (banned, kicked, timed out)
  • You moderate (kick, ban, timeout) another account
  • You use a command to save your ping preferences for being alerted with new Rate-My-Team requests
  • You are registered by server staff as a team rater for a specific metagame
  • You ask Chatot for a reminder
  • You store your Friend Codes into the database
  • You verify your Discord account by linking your Smogon profile in select Smogon Discord servers
  • You host a live tour

All data, whether provided by you via a command or by Discord, is accessed and used via permitted usage of the official Discord API. All possible user data given to Chatot during operation, even if not stored, is available in the Discord API documentation. Any information sent to Chatot may be temporarily cached in RAM when required to carry out Chatot's functionality and respond to your commands. This information is lost when the bot is restarted and/or when the garbage collection script is run, and is only accessed when required to successfully complete Chatot's functions. Chatot does not have access to your email information, does not store any personally identifiable information, and does not unneccessarily access or process your data.

Non-user information (including, but not limited to: channel ids, server ids, message ids, information you pass via the commands) may be stored, when required, in order to save your preferences. For example, if you want to log moderation actions to a specific channel, the channel id will be stored to save the configuration. Message content is never stored, but may be processed (parsed) for certain phrases (i.e. any custom prefix commands that you create, links to teams provided for the Rate-MY-Team fucntionality) in order to provide the documented services. All storage is kept to the bare minimum required to serve the purpose for which it was collected, and is limited to what you would expect. If you would like to see everything that is stored, the database schema is available in the SQL schema file.

How your data is used

Data is securely stored when and to the extent required for Chatot to operate. Your information is never shared with or accessible to third parties, and only provided to Discord when required in accordance with their API and Terms of Use.

Chatot is entirely open source. Storage of your data is outlined in the SQL schema file and any access to and usage of that data is publicly available within its source code. In short, your user id and/or username may be processed in order to tag you when responding to a command, moderate your account (kick/ban/timeout/modify roles/etc), or retrieve data from the databases when required (i.e. retrieving your stored Friend Codes). Processing of your data is limited to the minimum amount required to carry out Chatot's commands.

How long data is retained

Chatot retains your data for as long as it remains necessary to (a) comply with any laws or regulations and (b) carry out its functionality to completion. Once data retention is no longer required to fulfill the purposes for which it was collected, the data is purged from the databases.

User IDs stored as a result of moderation actions are kept for as long as the server's staff and the Smogon admin team deem it necessary to carry out their moderation duties. This information is required for the /modlog and Smogon global ban/unban commands to operate, and server staff require the record keeping to make educated decisions as they continue their moderation duties. This information is only purged when (a) the stated teams no longer require it or (b) Chatot is removed from the server. Upon removal of Chatot, the data logged for that server is immediately purged from the databases. Note that if you were globally banned from Smogon servers, your User ID--and only your User ID--may be retained for as long as the stated teams require for record keeping so that you may be globally unbanned with the bot at a later date.

Your User ID and any ping preferences stored regarding the Rate-My-Team functionality are kept for as long as you (a) remain in the server, (b) remain a member of the Rate-My-Team teams, and (c) do not remove the information manually with the appropriate commands or request a deletion. Your data is immediately deleted when the commands are used to remove you from the teams or to delete your data. A script runs every 48 hours to remove the data of users who have left a sever with the Rate-My-Team functionality enabled.

Data associated with reminders are stored until you cancel the reminders with the appropraite command, you request a deletion of your data, or it is not longer possible to complete the reminder (i.e. the channel in which you requested the reminder be made was deleted). In these cases, the data is deleted immediately. Any expired reminders are stored until the bot restarts or automatically deleted by the garbage collector (run every 48 hours), whichever is shorter.

Data associated with storing friend codes is stored until no longer desired by you. You can request their removal through the appropriate command, deletion of your data, or upon leaving all servers where the command is available. Data is removed immediately if requested by a command, or removed automatically up to 48 hours after your departure.

IDs provided via the Discord-Smogon verification process are kept until no longer required by the Smogon admin team, server staff where verification is enabled, and the Smogon site owner. This link may be required to recheck your verification status at any time or, in extreme cases, envoke cross-site punishements as defined in the Discord servers' and/or Smogon's rules. A history of the link is needed as protection against ban evaders; only your IDs persist. This information is not automatically removed when you leave a server that requires verification due to the reasons stated previously. Once accounts have been linked, the link cannot be updated. Any exceptions to this rule are not guaranteed and are handled by the Smogon admin team on a case-by-case basis.

Your User ID stored for live tours is kept until the tour is manually closed or, once signups have ended for the tour, the bot is restarted or the garbage collection script is run every 48 hours. Storage is required for as long as signups for the tour remain open so that you may be alerted of the signups once the signup period has ended.

Any cached information is lost upon restarting Chatot, the garbage collection script is run, or is overwritten during normal operations.

Any non-user stored information necessary to Chatot's operation (non-exhaustive list: channel ids, server ids) is immediately purged or updated once it is no longer needed for the purpose it was collected. These situations include, but are not limited to, changes in your settings or preferences via commands, Chatot being removed from a server, a channel being deleted, or changes in core operations.

Keeping your data secure

In order to prevent unauthorized access or disclosure, suitable measures and procedures to safeguard and secure the information that is collected have been put in place. This includes, but is not limited to, limited access to the server, data encryption of stored information when required, and password protection of all source code and stored information.

Requesting deletion of your data

In most cases of stored information, the commands you used to provide your data also provide a way for you to remove your information, without requesting a deletion. Please refer to the command documentation before taking any action. Further, as described above, your data may be automatically deleted after a short period if you leave the server or the bot is removed from it, in which case no further action from you may be required.

You may delete your stored data at any time by running the appropriate command, upon completion of which your data is immediately deleted in accordance with these terms. If you do not have access to the command within a server, you may request access to the command from relevant server staff. If you are not in a server with Chatot and cannot gain access to one, you may request data deletion by contacting the owner (Email | GitHub | Smogon). By contacting the owner directly, you may be required to provide proof of account ownership. Please allow up to 30 days for your data to be deleted in those cases.

You may re-provide your information at any time by running the commands again.

Changes to this policy

Changes to this policy may be made at any time. You may be asked to review and re-accept the information in this policy if it changes in the future.

⚠️ **GitHub.com Fallback** ⚠️