Skip to content

This code is a simple Discord bot written in Node.js that sends a welcome message to a new member when they join a server. It uses the Discord.js library to interact with the Discord API and the config.json file to store configuration options such as the channel ID and bot token.

Notifications You must be signed in to change notification settings

Doubleoffline/Discord-Welcome-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Discord-Welcome-bot

This code is a simple Discord bot written in Node.js that sends a welcome message to a new member when they join a server. It uses the Discord.js library to interact with the Discord API and the config.json file to store configuration options such as the channel ID and bot token.

Installation

  1. Clone the repository or download the code as a ZIP file

  2. Install the required dependencies by running npm install

3.fill in the necessary information (bot token and channel ID) in the config.json file

4.Run the bot by running node index.js

Usage

Once the bot is running, it will automatically send a welcome message to any new member that joins the server. The welcome message includes the new member's username and the user pfp/profile pic

Contributing

Feel free to contribute to this project by submitting pull requests or opening issues. Please ensure that your contributions adhere to the project's coding standards and guidelines.

About

This code is a simple Discord bot written in Node.js that sends a welcome message to a new member when they join a server. It uses the Discord.js library to interact with the Discord API and the config.json file to store configuration options such as the channel ID and bot token.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published