Plex Development
  • Introduction
  • Installation & Setup
    • Requirements
    • Windows Installation Guide
    • Linux Installation Guide
    • Bot Application Setup
    • Creating a MongoDB Cluster
    • Plex Tickets/Staff Dashboard
    • Setting Up a Reverse Proxy with Nginx
    • Setting Up a Reverse Proxy with Cloudflare Tunnels
  • Product Addons
    • Creating an addon
    • Addon Guidelines
  • Frequently Asked Questions
    • ⭐ Recommended Hosts
    • How to update
    • Common Issues
    • How to get channel/role/user ID
    • Using Custom Emojis
    • How to add multiple role ID's to config
    • Valid timezones
    • Keep Your Node.js Application Running 24/7
  • 🎫 Plex Tickets
    • Categories & Panels
    • AI AutoResponse
  • 🛒 PLEX STORE
    • Markdown Guide
    • Email System
    • How to update
    • API
    • Anti-piracy placeholders
  • LINKS
    • Website
    • Terms of Service
Powered by GitBook
On this page
  • Creating your bot
  • Your token
  • Gateway Intents

Was this helpful?

  1. Installation & Setup

Bot Application Setup

PreviousLinux Installation GuideNextCreating a MongoDB Cluster

Last updated 4 months ago

Was this helpful?

Creating your bot

  1. Open and log into your account.

  2. Click on the "New Application" button.

  3. Enter a name and confirm the pop-up window by clicking the "Create" button.

You should see a page like this:

You can edit your application's name, description, and avatar here. Once you've saved your changes, move on by selecting the "Bot" tab in the left panel.

Click the "Add Bot" button on the right and confirm the pop-up window by clicking "Yes, do it!"

Your token

This section is critical, so pay close attention. It explains what your bot token is, as well as the security aspects of it.

After creating a bot user, you'll see a section like this:

In this panel, you can give your bot an avatar, set its username, and make it public or private. You can access your token in this panel as well, either by revealing it or pressing the "Copy" button. When we ask you to paste your token somewhere, this is the value that you need to put in. Don't worry if you do happen to lose it at some point; you can always come back to this page and copy it again.

Gateway Intents

This section is critical, so pay close attention. This step shows you how to enable all of the gateway intents for the bot to work correctly.

Under the page, you'll see a section called "Privileged Gateway Intents", which will look at this:

In this section, you MUST enable the following intents: the Presence Intent, the Server Members Intent, and the Message Content Intent. Make sure the intents are enabled for the bot to work correctly.

the Discord developer portal