To create a Discord bot, open the Discord Developer Portal, press New Application, name it, then open the Bot tab. Switch on the privileged intents you need, reset the token to see it once, and copy it somewhere safe. No code is needed. The whole process takes about fifteen minutes the first time.

What is the Discord Developer Portal?

The Discord Developer Portal is the website where anyone with a Discord account creates applications. An application can have a bot user attached to it. Discord's OAuth2 documentation describes bot users as a separate type of user dedicated to automation, authenticated with a bot token found in the application's settings.

The portal lives at discord.com/developers/applications. Sign in with the Discord account you use to run your server. Any account can use the portal.

For marketing, the bot you create here is the sender. Members see its name and picture in their direct messages. BotLunar never owns a bot, never runs one for you and never shares one between customers. The bot is yours, with your own rate limits and reputation.

How do I create the application?

Follow these steps in order.

  1. Open the Discord Developer Portal while signed in as the account that manages your server.
  2. Press New Application in the top right.
  3. Type the name your members should see, usually your brand name. Do not name it BotLunar, because the messages come from you.
  4. Tick the box agreeing to Discord's developer terms, then press Create.

If New Application is greyed out, the account has reached Discord's limit on applications. Remove an old unused application, or use another account you control and keep that login safe.

How do I give the bot a name and a picture?

Open General Information in the left sidebar and upload an app icon. The icon becomes the bot's picture in direct messages, so use your logo. Change the name there if you need to.

BotLunar also lets you set a server nickname for the bot under Branding on the Bots page. The nickname is what members inside your server see.

How do I switch on the intents?

Open the Bot tab and scroll to Privileged Gateway Intents. BotLunar's setup guide asks for two switches:

  • Server Members Intent, which lets Discord tell the bot who is in your server. With it off, BotLunar reads your member list and finds nothing.
  • Message Content Intent, which lets the bot read replies so they reach your inbox.

Press Save Changes, reload the page and check both switches stayed on.

Discord's gateway documentation explains that privileged intents must be enabled in the Developer Portal before an app can use them. It also says verified apps, which are required for apps in 100 or more servers, need the intent approved after verification. A bot made for one server is far below that size.

How do I copy the bot token?

The token is the bot's password. Anyone holding it can send messages as your bot from anywhere.

  1. On the Bot tab, in the Token section, press Reset Token.
  2. Confirm. Discord may ask for your password or two-factor code.
  3. Press Copy while the token is showing. Discord shows it once.
  4. Paste it straight into BotLunar. Do not paste it into Discord, an email or a document.

If you close the page before copying, press Reset Token again. The old token stops working, which is harmless while nothing uses it. If the token ever leaks, press Reset Token again and add the new one to BotLunar.

What do I do after the bot exists?

The bot still has to join your server before it can do anything. In BotLunar you paste the token on the Bots page, and BotLunar builds an invite link with only the permissions it needs. The setup guide walks through every screen, from signing in to your first test message.

Each bot is created the same way. If you later want more sending bots or backup bots, repeat the steps above once per bot. The backup bots page explains what the extra bots do.

Frequently asked questions

Do I need to write code to create a Discord bot?

No. The Developer Portal creates the application and the bot user through forms. BotLunar then connects to the bot with its token, so there is nothing to host or install.

Does the bot cost anything?

Creating an application and a bot in the Developer Portal is free. BotLunar is a paid product with a 7 day free trial on Lunar Weekly. Plans and prices are on the pricing page.

Why are there two intents to switch on?

The Server Members Intent lets BotLunar read your member list. The Message Content Intent lets the bot read replies for your inbox. Both are off by default for every new bot, and only you can switch them on in the Developer Portal.

Can I reuse a bot that is already in many servers?

It is better to create a fresh bot. BotLunar connects a bot to exactly one server, and Discord requires approval for privileged intents once an app is in 100 or more servers.

Next step

Read the BotLunar setup guide to connect the bot you just made and send a test message to yourself, or start the 7 day free trial on Lunar Weekly from the pricing page.