Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advanced Welcome Bot

A Discord bot that sends customizable welcome and leave messages with generated images.

Features

  • Welcome image generation
  • Leave image generation
  • Customizable welcome message
  • Customizable leave message
  • /setup command
  • /disable command
  • /testwelcome command
  • /setwelcome command
  • /setleave command
  • Multi-server support
  • Persistent configuration

Commands

/setup channel

Sets the channel where welcome and leave messages will be sent.

/disable

Disables the welcome/leave system for the server.

/testwelcome

Sends a test welcome message in the configured channel.

/setwelcome message

Sets a custom welcome message.

/setleave message

Sets a custom leave message.


Custom Message Placeholders

You can use these placeholders in your custom messages:

  • {user} → Mentions the user
  • {server} → Server name
  • {count} → Current member count

Example:

Welcome {user} to {server}! You are member #{count}.

Installation

  1. Clone the repository:
git clone https://github.com/TylerGamerYT/welcome-bot
cd yourrepo
  1. Install dependencies:
npm install
  1. Create a .env file in the root directory and add:
TOKEN=YOUR_BOT_TOKEN
CLIENT_ID=YOUR_CLIENT_ID
GUILD_ID=YOUR_TEST_GUILD_ID
  1. Start the bot:
npm start

For development with auto restart:

npm run dev

Requirements

  • Node.js v18 or higher
  • Discord application with bot token
  • Server Members Intent enabled in the Discord Developer Portal

Project Structure

index.js
package.json
config.json
.env
assets/background.png (optional)

Required Bot Permissions

  • View Channels
  • Send Messages
  • Embed Links
  • Attach Files
  • Use Slash Commands

Made By

Tyler and his friend Chloe

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages