Create a Discord application, get a bot token, enable intents and invite the bot to your server.
Several SunDevs products (such as SunPaste and SunLinks) can connect to your own Discord bot. Setting one up requires a few specific toggles in the Discord Developer Portal.
Phase 1: Create the application
Before you have a bot, you need an application (the shell that holds your bot).
Log in to the Discord Developer Portal.
Click New Application in the top right.
Name your bot. This is the name shown in the Developer Portal. You can change the bot’s display name later.
Agree to the terms and click Create.
Phase 2: Set up the bot user and token
In the left sidebar, click Bot.
Add Bot: depending on the portal version, you may need to click “Add Bot”, or it may be created automatically.
Get your token: under “Token”, click Reset Token (or Copy if it’s visible).
Customize: upload an icon and change the bot’s display username.
Treat your token like a password. Anyone with your token has full control over your bot. Never share it or upload it to public sites like GitHub.
Scroll down to the Bot Permissions section and enable the checkboxes as shown:
Phase 3: Enable intents (crucial)
Modern Discord bots won’t work correctly unless you tell Discord what data they need.
On the Bot tab, scroll down to Privileged Gateway Intents.
Turn on:
Presence Intent: to see user statuses.
Server Members Intent: to see the member list or welcome new users.
Message Content Intent (required): lets your bot read the text of messages sent to it.
Click Save Changes.
Phase 4: Invite the bot to your server
Go to OAuth2 in the left sidebar, then select URL Generator.
Under Scopes, check bot and applications.commands (for slash commands).
Under Bot Permissions, select what the bot is allowed to do (for example Send Messages, Read Message History, Embed Links), as shown below.
Copy the generated URL at the bottom of the page.
Open the URL in a new tab, select your server from the dropdown and click Continue, then Authorize.
All done ✨ Paste the token into your product’s Discord integration settings.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SunDevs Help Center","description":"Documentation and help for SunLicense, SunGuard, SunPaste, SunLinks, SunStore and SunBot.","colors":{"primary":"#F7A325","light":"#FFC65C","dark":"#B85A0C"},"logo":{"light":"https://mintcdn.com/sundevs/wT1cHIBRarHwN5y_/images/logo-light.svg?fit=max\u0026auto=format\u0026n=wT1cHIBRarHwN5y_\u0026q=85\u0026s=285fef4c2aefc28827c1c9d52695acda","dark":"https://mintcdn.com/sundevs/wT1cHIBRarHwN5y_/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=wT1cHIBRarHwN5y_\u0026q=85\u0026s=8e1363c78669e6132a7d1bce4eed0222"},"favicon":{"light":"https://mintcdn.com/sundevs/wT1cHIBRarHwN5y_/images/favicon.ico?fit=max\u0026auto=format\u0026n=wT1cHIBRarHwN5y_\u0026q=85\u0026s=39892e63646dab53164410cf118bbd40","dark":"https://mintcdn.com/sundevs/wT1cHIBRarHwN5y_/images/favicon.ico?fit=max\u0026auto=format\u0026n=wT1cHIBRarHwN5y_\u0026q=85\u0026s=39892e63646dab53164410cf118bbd40"},"navbar":{"links":[{"href":"https://store.sundevs.net","label":"Store"},{"href":"https://go.sundevs.net/discord","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.sundevs.net"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/sundevs-mc","discord":"https://go.sundevs.net/discord","website":"https://sundevs.net","youtube":"https://youtube.com/@Sun-Devs"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sundevs","hasAudioNarration":false,"actualSubdomain":"sundevs","customDomains":["help.sundevs.net"],"gitSource":{"type":"github","owner":"ka0un","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6aca7c012e6e0606b2054632","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Getting Started","count":20},{"language":"default","tag":"SunLicense","count":20},{"language":"default","tag":"SunPaste","count":16},{"language":"default","tag":"SunLinks","count":11},{"language":"default","tag":"Product Integrations","count":9},{"language":"default","tag":"General","count":6},{"language":"default","tag":"Dashboard","count":6},{"language":"default","tag":"Administration","count":6},{"language":"default","tag":"SunGuard","count":5},{"language":"default","tag":"Get Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"type":"link","url":"https://go.sundevs.net/discord"}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/discord-bot-token","slug":"/guides/discord-bot-token","pageMetadata":{"title":"Create a Discord Bot Token","description":"Create a Discord application, get a bot token, enable intents and invite the bot to your server.","icon":"discord","href":"/guides/discord-bot-token"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a Discord application, get a bot token, enable intents and invite the bot to your server.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,OptimizedImage,Warning}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Several SunDevs products (such as SunPaste and SunLinks) can connect to your own Discord bot. Setting one up requires a few specific toggles in the `,_jsx(_components.a,{href:`https://discord.com/developers/applications`,children:`Discord Developer Portal`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`phase-1-create-the-application`,children:`Phase 1: Create the application`}),`\n`,_jsx(_components.p,{children:`Before you have a bot, you need an application (the shell that holds your bot).`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Log in to the `,_jsx(_components.strong,{children:`Discord Developer Portal`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`New Application`}),` in the top right.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Name your bot.`}),` This is the name shown in the Developer Portal. You can change the bot’s display name later.`]}),`\n`,_jsxs(_components.li,{children:[`Agree to the terms and click `,_jsx(_components.strong,{children:`Create`}),`.`]}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019ddde2b6bb72fd-image.png?fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=55e9870da642ba61f2d32db9430e3d35`,alt:`Create a new application`,\"data-og-width\":`1918`,width:`1918`,\"data-og-height\":`958`,height:`958`,\"data-path\":`images/sunpaste/019ddde2b6bb72fd-image.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019ddde2b6bb72fd-image.png?w=280\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=75875d9478f05342fe694f7d274c0ef9 280w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019ddde2b6bb72fd-image.png?w=560\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=a8ad1fbdc04b215d635fa1fe119cefcd 560w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019ddde2b6bb72fd-image.png?w=840\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=1b3a37cfb388f5acd3e1cdd0326bda30 840w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019ddde2b6bb72fd-image.png?w=1100\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=2eb6fefc666f237a84bcd8b8a17a824d 1100w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019ddde2b6bb72fd-image.png?w=1650\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=9ee75f963db8743ebbfde0b2e89e1af7 1650w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019ddde2b6bb72fd-image.png?w=2500\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=e9b36bcb5973856a44411ec2bbf0e4f1 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`phase-2-set-up-the-bot-user-and-token`,children:`Phase 2: Set up the bot user and token`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`In the left sidebar, click `,_jsx(_components.strong,{children:`Bot`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Add Bot:`}),` depending on the portal version, you may need to click “Add Bot”, or it may be created automatically.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Get your token:`}),` under “Token”, click `,_jsx(_components.strong,{children:`Reset Token`}),` (or `,_jsx(_components.strong,{children:`Copy`}),` if it’s visible).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Customize:`}),` upload an icon and change the bot’s display username.`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Treat your token like a password. Anyone with your token has full control over your bot. Never share it or upload it to public sites like GitHub.`})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde0deeb8710e-image.png?fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=ee7fd61ff56a9c1b2c9b998d4368b943`,alt:`Bot token`,\"data-og-width\":`1912`,width:`1912`,\"data-og-height\":`992`,height:`992`,\"data-path\":`images/sunpaste/019dde0deeb8710e-image.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde0deeb8710e-image.png?w=280\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=3afe7e3b8fe0abb1ab80746b200a9963 280w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde0deeb8710e-image.png?w=560\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=ebfea87e7733cd9716adb154a189e3b6 560w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde0deeb8710e-image.png?w=840\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=732fabeb526f068caf50919bdcebd422 840w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde0deeb8710e-image.png?w=1100\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=7fe7860f268e840f992b26c18f5b6efb 1100w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde0deeb8710e-image.png?w=1650\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=e0f19dc78184448380b0f863061c4215 1650w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde0deeb8710e-image.png?w=2500\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=7a298e8773bd1bfd443e3da5d9681aad 2500w`})}),`\n`,_jsxs(_components.p,{children:[`Scroll down to the `,_jsx(_components.strong,{children:`Bot Permissions`}),` section and enable the checkboxes as shown:`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde1f22c275b4-image.png?fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=c4103f94e046b353664287ff3fcf4eae`,alt:`Bot permissions`,\"data-og-width\":`1386`,width:`1386`,\"data-og-height\":`878`,height:`878`,\"data-path\":`images/sunpaste/019dde1f22c275b4-image.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde1f22c275b4-image.png?w=280\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=1328407abb5fe1013f74b4471386e2ac 280w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde1f22c275b4-image.png?w=560\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=28335338ccb2791eb26a3d64daf5b9b7 560w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde1f22c275b4-image.png?w=840\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=d5e5da8b13e30463ec73dad684ea3d4e 840w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde1f22c275b4-image.png?w=1100\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=e78470e10a43176d8cba33fc32dc2fff 1100w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde1f22c275b4-image.png?w=1650\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=12c941f057bd540acef1d96a978e4da7 1650w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde1f22c275b4-image.png?w=2500\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=f4ad90c57d173bd5bf4b8c0a8091dce0 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`phase-3-enable-intents-crucial`,children:`Phase 3: Enable intents (crucial)`}),`\n`,_jsx(_components.p,{children:`Modern Discord bots won’t work correctly unless you tell Discord what data they need.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`On the `,_jsx(_components.strong,{children:`Bot`}),` tab, scroll down to `,_jsx(_components.strong,{children:`Privileged Gateway Intents`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Turn `,_jsx(_components.strong,{children:`on`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Presence Intent`}),`: to see user statuses.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Server Members Intent`}),`: to see the member list or welcome new users.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Message Content Intent`}),` (required): lets your bot read the text of messages sent to it.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Save Changes`}),`.`]}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde138edf7219-image.png?fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=2b7741f2aaec7889fdc3f52542d0d5e5`,alt:`Privileged gateway intents`,\"data-og-width\":`1918`,width:`1918`,\"data-og-height\":`948`,height:`948`,\"data-path\":`images/sunpaste/019dde138edf7219-image.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde138edf7219-image.png?w=280\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=182989b63c55ed8eb34e3a5281572bf9 280w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde138edf7219-image.png?w=560\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=9bec1aca22f9332762bd671ad50c4480 560w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde138edf7219-image.png?w=840\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=603be57b960d95e8d7a06d6be2283e0b 840w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde138edf7219-image.png?w=1100\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=ebcd2f99fb746114e149ec1612ed32c5 1100w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde138edf7219-image.png?w=1650\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=d2def655c54673059cf5c200e93c47de 1650w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde138edf7219-image.png?w=2500\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=da25a3910c7224ec1520e99c520d21b3 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`phase-4-invite-the-bot-to-your-server`,children:`Phase 4: Invite the bot to your server`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Go to `,_jsx(_components.strong,{children:`OAuth2`}),` in the left sidebar, then select `,_jsx(_components.strong,{children:`URL Generator`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Under `,_jsx(_components.strong,{children:`Scopes`}),`, check `,_jsx(_components.code,{children:`bot`}),` and `,_jsx(_components.code,{children:`applications.commands`}),` (for slash commands).`]}),`\n`,_jsxs(_components.li,{children:[`Under `,_jsx(_components.strong,{children:`Bot Permissions`}),`, select what the bot is allowed to do (for example `,_jsx(_components.em,{children:`Send Messages, Read Message History, Embed Links`}),`), as shown below.`]}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde220c7e71c3-image.png?fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=abb493612522776db4e70171695817ac`,alt:`OAuth2 URL generator scopes`,\"data-og-width\":`1917`,width:`1917`,\"data-og-height\":`986`,height:`986`,\"data-path\":`images/sunpaste/019dde220c7e71c3-image.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde220c7e71c3-image.png?w=280\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=f6423f53b5ce2bb2a517eb1a2343d5e9 280w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde220c7e71c3-image.png?w=560\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=7e483e8808863c49804c6299d3e406c1 560w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde220c7e71c3-image.png?w=840\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=cfde757dfbce610c2d068539c627b3cc 840w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde220c7e71c3-image.png?w=1100\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=d87cffed1e1a7d5b0a3607caeffec1ee 1100w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde220c7e71c3-image.png?w=1650\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=bb4f747c47568cc747420fc1dfe6382b 1650w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde220c7e71c3-image.png?w=2500\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=faeb62ee10440fe650b8792c38edea64 2500w`})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde23c89b712d-image.png?fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=e9a752031ad296c1a38a9aaa073d88be`,alt:`Bot permissions in the URL generator`,\"data-og-width\":`1503`,width:`1503`,\"data-og-height\":`861`,height:`861`,\"data-path\":`images/sunpaste/019dde23c89b712d-image.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde23c89b712d-image.png?w=280\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=bd52255d2577561892a91b7ee3c41f59 280w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde23c89b712d-image.png?w=560\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=8b4adb04c32dd4360299100802388221 560w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde23c89b712d-image.png?w=840\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=8eae7bc1a123db117c1dbe0bea9001c2 840w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde23c89b712d-image.png?w=1100\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=bf055f326858afc938733830081840e0 1100w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde23c89b712d-image.png?w=1650\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=72d51a81b9b319949bfa9868017c45c1 1650w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019dde23c89b712d-image.png?w=2500\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=8df0e85284a8bb399429ebd1a17669ef 2500w`})}),`\n`,_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsx(_components.li,{children:`Copy the generated URL at the bottom of the page.`}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019de1bb6b6f7048-image.png?fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=7fc1846178c90e0b048eb62608e2cf0c`,alt:`Generated invite URL`,\"data-og-width\":`1918`,width:`1918`,\"data-og-height\":`982`,height:`982`,\"data-path\":`images/sunpaste/019de1bb6b6f7048-image.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019de1bb6b6f7048-image.png?w=280\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=9eb0e182ca78ecd2c70b320b25f925ac 280w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019de1bb6b6f7048-image.png?w=560\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=86a5295a9a81f1f7cbbddeb7ce931182 560w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019de1bb6b6f7048-image.png?w=840\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=b65e28ea474ae3ee2e541aaa17b59d21 840w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019de1bb6b6f7048-image.png?w=1100\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=f097a343acb335876a789aea73acfe27 1100w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019de1bb6b6f7048-image.png?w=1650\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=ab5d26e7c5d81ee4bdff7e55821a0064 1650w, https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunpaste/019de1bb6b6f7048-image.png?w=2500\u0026fit=max\u0026auto=format\u0026n=elgk5NHmyF31vYbt\u0026q=85\u0026s=b97aaae871aa70231651e116ef384220 2500w`})}),`\n`,_jsxs(_components.ol,{start:`5`,children:[`\n`,_jsxs(_components.li,{children:[`Open the URL in a new tab, select your server from the dropdown and click `,_jsx(_components.strong,{children:`Continue`}),`, then `,_jsx(_components.strong,{children:`Authorize`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`All done ✨ Paste the token into your product’s Discord integration settings.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a Discord Bot Token","description":"Create a Discord application, get a bot token, enable intents and invite the bot to your server.","icon":"discord","href":"/guides/discord-bot-token"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Phase 1: Create the application","slug":"phase-1-create-the-application","depth":2,"children":[]},{"title":"Phase 2: Set up the bot user and token","slug":"phase-2-set-up-the-bot-user-and-token","depth":2,"children":[]},{"title":"Phase 3: Enable intents (crucial)","slug":"phase-3-enable-intents-crucial","depth":2,"children":[]},{"title":"Phase 4: Invite the bot to your server","slug":"phase-4-invite-the-bot-to-your-server","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"sundevs","siteName":"SunDevs Help Center","title":"Create a Discord Bot Token - SunDevs Help Center","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-25T06:42:05.409Z","originalFileLocation":"guides/discord-bot-token.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a Discord application, get a bot token, enable intents and invite the bot to your server.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SunDevs Help Center\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sundevs/m7mz4YNZQvaLJxVh/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sundevs/m7mz4YNZQvaLJxVh/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sundevs/m7mz4YNZQvaLJxVh/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sundevs/m7mz4YNZQvaLJxVh/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sundevs/m7mz4YNZQvaLJxVh/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sundevs/m7mz4YNZQvaLJxVh/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sundevs/m7mz4YNZQvaLJxVh/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sundevs/m7mz4YNZQvaLJxVh/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sundevs/m7mz4YNZQvaLJxVh/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a Discord Bot Token - SunDevs Help Center\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a Discord application, get a bot token, enable intents and invite the bot to your server.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SunDevs Help Center\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.sundevs.net/guides/discord-bot-token\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sundevs.mintlify.site/_mintlify/api/og/v2?division=Common+Guides\u0026amp;title=Create+a+Discord+Bot+Token\u0026amp;description=Create+a+Discord+application%2C+get+a+bot+token%2C+enable+intents+and+invite+the+bot+to+your+server.\u0026amp;theme=83025b8b13043653d248d89a\u0026amp;signature=4fd32224f57a3294619fa8dc39d1ca13925cadddb63a019ed31f1440a3062ddb\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a Discord Bot Token - SunDevs Help Center\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a Discord application, get a bot token, enable intents and invite the bot to your server.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sundevs.mintlify.site/_mintlify/api/og/v2?division=Common+Guides\u0026amp;title=Create+a+Discord+Bot+Token\u0026amp;description=Create+a+Discord+application%2C+get+a+bot+token%2C+enable+intents+and+invite+the+bot+to+your+server.\u0026amp;theme=83025b8b13043653d248d89a\u0026amp;signature=4fd32224f57a3294619fa8dc39d1ca13925cadddb63a019ed31f1440a3062ddb\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sundevs/m7mz4YNZQvaLJxVh/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SunDevs Help Center\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F7A325\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.sundevs.net/guides/discord-bot-token\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/discord-bot-token.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://help.sundevs.net/#organization\",\"name\":\"SunDevs Help Center\",\"url\":\"https://help.sundevs.net\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sundevs/wT1cHIBRarHwN5y_/images/logo-light.svg?fit=max\u0026auto=format\u0026n=wT1cHIBRarHwN5y_\u0026q=85\u0026s=285fef4c2aefc28827c1c9d52695acda\"}},{\"@type\":\"WebSite\",\"@id\":\"https://help.sundevs.net#website\",\"name\":\"SunDevs Help Center\",\"url\":\"https://help.sundevs.net\",\"publisher\":{\"@id\":\"https://help.sundevs.net/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.sundevs.net/guides/discord-bot-token#webpage\",\"url\":\"https://help.sundevs.net/guides/discord-bot-token\",\"name\":\"Create a Discord Bot Token\",\"description\":\"Create a Discord application, get a bot token, enable intents and invite the bot to your server.\",\"dateModified\":\"2026-09-25T06:42:05.409Z\",\"isPartOf\":{\"@id\":\"https://help.sundevs.net#website\"},\"breadcrumb\":{\"@id\":\"https://help.sundevs.net/guides/discord-bot-token#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.sundevs.net/guides/discord-bot-token#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SunDevs Help Center\",\"item\":\"https://help.sundevs.net\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a Discord Bot Token\",\"item\":\"https://help.sundevs.net/guides/discord-bot-token\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://help.sundevs.net/guides/discord-bot-token#article\",\"headline\":\"Create a Discord Bot Token\",\"name\":\"Create a Discord Bot Token\",\"description\":\"Create a Discord application, get a bot token, enable intents and invite the bot to your server.\",\"url\":\"https://help.sundevs.net/guides/discord-bot-token\",\"mainEntityOfPage\":{\"@id\":\"https://help.sundevs.net/guides/discord-bot-token#webpage\"},\"dateModified\":\"2026-09-25T06:42:05.409Z\",\"publisher\":{\"@id\":\"https://help.sundevs.net/#organization\"},\"isPartOf\":{\"@id\":\"https://help.sundevs.net#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SunDevs Help Center\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SunDevs Help Center\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/discord-bot-token.md","siteName":"SunDevs Help Center","nav":{"global":null,"products":[{"product":"General","icon":"sun","color":{"light":"#F7A325","dark":"#FFC65C"},"description":"Guides and support","groups":[{"group":"Get Started","pages":[{"title":"Welcome to SunDevs","sidebarTitle":"Welcome","icon":"house","href":""},{"title":"Where to buy","icon":"cart-shopping","href":"/where-to-buy"},{"title":"Get your license key","description":"Request your SunDevs license key in the #premium channel on Discord after purchase, then paste it into license.txt next to server.jar before starting.","icon":"id-card","href":"/license-key"}]},{"group":"Common Guides","pages":[{"title":"Create a Discord Bot Token","icon":"discord","href":"/guides/discord-bot-token"}]},{"group":"Services \u0026 Support","pages":[{"title":"Managed Hosting","description":"Compare Managed Hosting plans for SunLicense, SunGuard, SunPaste, SunLinks, SunStore and SunBot. Our team runs the product, and a license key is required.","icon":"server","href":"/managed-hosting"},{"title":"Support","icon":"life-ring","href":"/support"}]}]},{"product":"SunLicense","icon":"key","color":{"light":"#8B5CF6","dark":"#A78BFA"},"description":"License management system","pages":[{"title":"SunLicense","href":"/sunlicense/overview"}]},{"product":"SunGuard","icon":"shield-halved","color":{"light":"#16A34A","dark":"#4ADE80"},"description":"Code obfuscator","pages":[{"title":"SunGuard","href":"/sunguard/overview"}]},{"product":"SunPaste","icon":"paste","color":{"light":"#CA8A04","dark":"#FACC15"},"description":"Paste sharing system","pages":[{"title":"SunPaste","href":"/sunpaste/overview"}]},{"product":"SunLinks","icon":"link","color":{"light":"#DB2777","dark":"#F472B6"},"description":"Link shortener","pages":[{"title":"SunLinks","href":"/sunlinks/overview"}]},{"product":"SunStore","icon":"store","color":{"light":"#2563EB","dark":"#60A5FA"},"description":"Digital product store","pages":[{"title":"SunStore","href":"/sunstore/overview"}]},{"product":"SunBot","icon":"robot","color":{"light":"#111827","dark":"#E5E7EB"},"description":"All-in-one Discord bot","pages":[{"title":"SunBot","href":"/sunbot/overview"}]}]},"basePath":"","title":"Create a Discord Bot Token - SunDevs Help Center","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-D2acuaLg.js","DynamicMarkdown-Co5nikxh.js","zoom-image-lightbox-BbK2OBGL.js","lightbox-handle-r17bVUz3.js"]}