UNPKG

create-discord-forge

Version:

A CLI made with Commander to create a Discord and easily add advanced features to your bot made with discord.js in TypeScript or JavaScript

52 lines (35 loc) 803 B
# Rapid Setup ⚠️ This CLI make a private bot, to make a public bot, you must use the default publishing method without guildId see https://discordjs.guide/creating-your-bot/command-deployment.html#global-commands ### 1 - Configure config.json Set your guildId, clientId and token to run the bot. ### 2 - Deploy and start the bot With npm: ``` npm i (if you have set without auto install in CLI) ``` ``` npm run deployCommandsDev npm run dev ``` With pnpm: ``` pnpm i (if you have set without auto install in CLI) ``` ``` pnpm run deployCommandsDev pnpm run dev ``` ### 3 - Publish your bot With npm: ``` npm run build npm run deployCommands npm run start ``` With pnpm: ``` pnpm run build pnpm run deployCommands pnpm run start ```