Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.04 KB

File metadata and controls

36 lines (28 loc) · 1.04 KB

Discord-Welcome-Bot

This bot is required to welcome new users to your Discord server.

Advantages:

  • I commented everything out, so it's easy to figure it out
  • All setup in one file
  • Checking for the server (It is necessary so that when using the bot on several servers, no crashes occur)

Instructions

Discord Bot:

  • Create application
  • Add a bot to it (Bot section)
  • In the same place where the bot was added, enable "PRESENCE INTENT" and "SERVER MEMBERS INTENT" (Without this, the bot will not work)
  • Add a bot to the server (here it is already)

Customizing the Config.json File

{
   "BOT_TOKEN": "Enter_discord_bot_token",
   "WELCOME_CHANNEL": "Enter_channel_id"
}

The bot token can be copied in the Bot section of your application

Attention!

To get the channes IDs, you must enable developer mode

To run locally, you need Node.JS

Start

node index.js