A powerful Discord bot for creating and restoring server backups, developed by Ghost Planet.
- Complete server backup functionality
- Backup includes:
- Channels (all types)
- Categories
- Roles
- Emojis (both static and animated)
- Stickers
- Proper handling of community features
- User-friendly status updates
- Secure backup restoration process
- Node.js v16.9.0 or higher
- Discord Bot Token
- Required Discord Bot Permissions:
- Administrator (for complete backup functionality)
- Clone the repository
git clone https://github.com/friday2su/xenon-bot-clone.git
cd discord-backup-bot
- Install dependencies
npm install
- Configure environment variables
- Rename
.env.example
to.env
- Fill in your bot token and client ID
- Deploy slash commands
node deploy-commands.js
- Start the bot
npm start
Creates a backup of the current server
- Generates a unique backup ID
- Stores all server components
- Requires Administrator permission
Restores a server from a backup
- Requires backup ID
- Requires Administrator permission
- Will prompt for confirmation before proceeding
Create a .env
file in the root directory with the following variables:
TOKEN=your_bot_token_here
CLIENT_ID=your_application_client_id_here
Replace YOUR_CLIENT_ID
with your bot's client ID:
https://discord.com/api/oauth2/authorize?client_id=YOUR_CLIENT_ID&permissions=8&scope=bot%20applications.commands
Join our Discord server for support and updates: Ghost Planet Discord Server
This project is open source under the MIT license. Contributions are welcome:
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Friday - Initial work - Ghost Planet
- Thanks to the Discord.js team for their amazing library
- Special thanks to the Ghost Planet community
Copyright (c) 2024 Ghost Planet. All rights reserved.