A Discord bot built with Discord.js v14 focused on custom voice channel management.
- 🎤 Custom Voice Channels: Automatic creation of private voice channels
- 👥 Member Management: Invite specific members or roles to channels
- 🔒 Permission Control: Lock/unlock channels and manage permissions
- 📝 Channel Editing: Rename channels and set user limits
- 🔄 Auto-Cleanup: Channels automatically delete when empty
- 🎛️ Interactive Controls: Easy-to-use buttons and menus
- 📊 Information Commands: Server information, bot latency, and statistics
- 🎮 Fun Commands: Coin flip and other entertainment commands
npm installCreate a .env file in the root directory:
DISCORD_TOKEN=your_discord_bot_token_here
CLIENT_ID=your_client_id_here
GUILD_ID=your_guild_id_here
BOT_STATUS=online
BOT_ACTIVITY=/help for commands- Go to Discord Developer Portal
- Create a new application
- Go to the "Bot" section and create a bot
- Copy the bot token and add it to your
.envfile - Enable the required intents:
- Server Members Intent (required for invite system)
- Go to "OAuth2" > "URL Generator"
- Select "bot" and "applications.commands" scopes
- Select the required permissions
- Use the generated URL to invite the bot to your server
Development mode (with auto-restart):
npm run devProduction mode:
npm startsrc/
├── commands/ # Slash commands
│ ├── admin/ # Administrative commands
│ └── info/ # Information commands
├── events/ # Discord.js events
├── handlers/ # Command and event handlers
├── utils/ # Utility functions
├── config/ # Configuration
└── index.js # Main bot file
- Use
/setup-temp-channelsto designate a voice channel as the "create channel" - When users join this channel, a new private voice channel is automatically created
- The creator gets full control over their channel with interactive buttons
- Private by Default: New channels are private (only creator can join)
- Member Invites: Invite specific members using Discord's native user selector
- Role Invites: Give access to entire roles
- Quick Lock/Unlock: Toggle between public and private
- Channel Editing: Rename and set user limits
- Auto-Cleanup: Channels delete when everyone leaves
The bot requires these intents:
- Guilds: Basic guild access
- GuildVoiceStates: Voice channel management
- GuildMembers: Member management for invites
MIT