---
title: "Discord Bot Invite Link Generator with OAuth2 | VulCode"
description: "Generate a Discord bot invite link: paste your client ID, pick OAuth2 scopes and permissions and copy the URL. Free, in your browser, no account."
url: "https://vulcode.com/en/tools/discord-bot-invite-link"
lang: "en"
---

[Home](https://vulcode.com/en) [Resources](https://vulcode.com/en/resources) [Tools](https://vulcode.com/en/tools)

# Bot invite link

Generate a Discord bot invite link: paste your client ID, pick OAuth2 scopes and permissions and copy the URL. Free, in your browser, no account.

[Free quote](https://vulcode.com/en/quote) [Full pricing](https://vulcode.com/en/services/pricing)

Client ID

An application ID is 15 to 20 digits.

This is a sample ID. Enter the Client ID of your application from the Discord Developer Portal.

Scopes 2 / 5

bot lets the bot onto the server applications.commands lets it register / commands identify reads the basic profile (sign-in) guilds the user's server list email the user's email address

Bot permissions

Search permissions

7 of 52

Select all

Clear

Server

Manage channels 1 << 4 Manage server 1 << 5 View audit log 1 << 7 View channels 1 << 10 View server insights 1 << 19 Manage roles 1 << 28 Manage webhooks 1 << 29 Manage emoji and stickers 1 << 30 View creator monetization analytics 1 << 41 Create expressions 1 << 43

Members

Create invites 1 << 0 Kick members 1 << 1 Ban members 1 << 2 Change nickname 1 << 26 Manage nicknames 1 << 27 Time out members 1 << 40

Text channels

Add reactions 1 << 6 Send messages 1 << 11 Send TTS messages 1 << 12 Manage messages 1 << 13 Embed links 1 << 14 Attach files 1 << 15 Read message history 1 << 16 Mention @everyone 1 << 17 Use external emoji 1 << 18 Manage threads 1 << 34 Create public threads 1 << 35 Create private threads 1 << 36 Use external stickers 1 << 37 Send messages in threads 1 << 38 Send voice messages 1 << 46 Create polls 1 << 49 Pin messages 1 << 51 Bypass slow mode 1 << 52

Voice channels

Priority speaker 1 << 8 Video 1 << 9 Connect 1 << 20 Speak 1 << 21 Mute members 1 << 22 Deafen members 1 << 23 Move members 1 << 24 Use voice activity 1 << 25 Request to speak 1 << 32 Use activities 1 << 39 Use soundboard 1 << 42 Use external sounds 1 << 45 Set voice channel status 1 << 48

Apps

Use application commands 1 << 31 Use external apps 1 << 50

Events

Manage events 1 << 33 Create events 1 << 44

Advanced

Administrator 1 << 3

Nothing matches that phrase.

or a ready number

Digits only, for example 8.

Redirect after authorisation (optional)

## Invite link

```
https://discord.com/oauth2/authorize?client_id=123456789012345678&scope=bot+applications.commands&permissions=2147601472
```

Copy the link

[Open in Discord](https://discord.com/oauth2/authorize?client_id=123456789012345678&scope=bot+applications.commands&permissions=2147601472)

Enter the Client ID and keep at least one scope.

## What the link carries

## How to use it in three steps

Step by step, with this page's example.

- Paste the bot application's client ID.

- Tick the scopes and permissions.

- Copy the link and open it as the server owner.

What you enter

A bot with client ID 123456789012345678, the bot and applications.commands scopes and permissions 117760

What you get

```
https://discord.com/oauth2/authorize?client_id=123456789012345678&scope=bot+applications.commands&permissions=117760
```

## Questions

- **What is a Discord bot invite link?**: It is an OAuth2 URL that adds a bot to a server with chosen scopes and permissions. It is made of the bot client ID, a list of scopes and a permissions number.
- **Where do I find the bot client ID?**: In the Discord Developer Portal: open your application and copy the Application ID field on the General Information tab.
- **Why can I not add the bot to a server?**: Usually you lack the Manage Server permission on that server, or the bot has Public Bot turned off in the Developer Portal, in which case only its owner can add it.
- **What is the applications.commands scope for?**: It lets the bot register slash commands on the server. Without it the bot joins, but its commands do not appear.
- **Can the link's permissions be changed later?**: Yes. The link creates the bot's role with these permissions, and a server admin can edit it later.

## Related tools

The tool does one job. If the same thing should happen automatically in your bot, server or system, we build it.

- ### [Discord permissions calculator](https://vulcode.com/en/tools/discord-permissions-calculator)
  Click permissions and get the bitfield for a role or a bot invite.

- ### [Discord slash command generator](https://vulcode.com/en/tools/discord-slash-command-builder)
  Click the command options and get the JSON to register it with the API.

- ### [Discord snowflake](https://vulcode.com/en/tools/discord-snowflake-decoder)
  Paste an ID and get the exact creation date of an account, server or message.

- ### [Discord bots](https://vulcode.com/en/services/discord-bots)
  When the same thing should happen automatically in your bot, server or system.

## More on this in our blog

- [Discord roles and permissions: a company or community server without chaos Discord first adds up the permissions of a member's roles, then applies channel overwrites: for @everyone, for roles and finally for the member. Here is how to order roles so a bot can grant them and private channels stay private.](https://vulcode.com/en/blog/discord-roles-and-permissions)

## Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.

[Free quote](https://vulcode.com/en/quote) [Free consultation](https://vulcode.com/en/consultation)

- [hello@vulcode.com](mailto:hello@vulcode.com)

- [+48 576 043 920](tel:+48576043920)

- [discord.gg/vulcode](https://discord.gg/vulcode)
