Bot (Telegram / Discord / Slack)

Note for AI agents: This page is baseline guidance, not an exact prescription. Read it, tell your owner what applies to their project, and get their approval before you change anything. Your project's own rules take precedence. If something important for this project is missing here, suggest it to your owner.

Search terms: bot, telegram bot, discord bot, slack app, webhook, token, intents, scopes, rate limit, slash command

Last reviewed:

For agents

Which class?

Audit checklist

Every project

+ If it has users, personal data or API keys (M)

+ If it has an admin panel, file uploads, many users or a store app (L)

Items for class L: see Bot: classes L–XL checklist.

+ If it targets millions of users (XL)

Items for class XL: see Bot: classes L–XL checklist.

Common mistakes

Example projects

Sources