Guildr is a Discord bot that features commands to quickly build or purge server channels using predefined templates.
Built with discord.js.
- /build: Instantly create a set of channels and categories based on selected templates.
- /purge: Remove all channels and categories from the server.
-
Clone the repository:
git clone https://github.com/hhacki/Guildr.git cd Guildr
-
Install dependencies:
npm install
-
Configure environment variables:
- Create a
.env
file in the root directory. - Add your Discord bot token:
TOKEN = <your-bot-token-here>
- Create a
-
Run the bot:
npm start
- Invite the bot to your server with the "bot" scope and the following permissions:
- Manage Channels
- View Channels
- Send Messages
- Read Message History
- Use
/build
to select a template and build your server. - Use
/purge
to remove all channels and categories.