Privacy Policy
Last updated: February 22, 2026
This policy describes how Somsri Bot collects and uses data when you connect your Google account via OAuth 2.0.
๐ Data We Collect
When you connect your Google account, we request the following OAuth scopes:
- โ๏ธuserinfo.emailYour Google account email address, used to identify your account and associate it with your Discord user ID.
- ๐คuserinfo.profileYour basic Google profile information (name, profile picture), used to personalise bot responses.
- ๐
calendar.eventsRead and write access to your Google Calendar events. Used exclusively to create, update, and retrieve calendar events on your behalf via Discord commands.
๐ Overview
Somsri Bot ("the Bot") is a Discord bot that integrates with Google Calendar to help Discord server members schedule and manage events. This policy explains what data we collect when you authorize the Bot via Google OAuth and how it is used.
โ๏ธ How We Use Your Data
We use the collected data solely to:
- โAuthenticate and link your Google account to your Discord account.
- โRead and write Google Calendar events on your behalf.
- โRespond to calendar-related commands issued in Discord.
๐ We do not share, sell, or disclose your data to any third parties.
๐๏ธ Data Storage & Retention
OAuth tokens (access token and refresh token) are stored securely and used only to perform authorised Google Calendar operations on your behalf. Tokens are deleted when you revoke access through Discord or directly via your Google Account permissions.
๐ซ Revoking Access
You can revoke the Bot's access to your Google account at any time by visiting myaccount.google.com/permissions and removing Somsri Bot. Once revoked, all stored tokens will be invalidated immediately.
๐ก๏ธ Security
We take reasonable technical measures to protect stored tokens and user data against unauthorized access. OAuth tokens are never exposed in logs or client-side code.
๐ Changes to This Policy
We may update this Privacy Policy from time to time. The "Last updated" date at the top of this page will reflect any changes. Continued use of the Bot after changes constitutes acceptance of the updated policy.