2.1.2 • Published 3 years ago

connectcord v2.1.2

Weekly downloads
1
License
ISC
Repository
-
Last release
3 years ago

ConnectCord

Connect together a Discord Bot project in seconds!

ConnectCord_Logo

What is ConnectCord?

ConnectCord is a cli tool that lets you generate a Discord.JS project (version 12 or version 11), in a matter of seconds.

Currently supports only JavaScript, but will support TypeScript soon.

Instructions

Install connectcord by running npm install -g connectcord on your terminal or Windows CMD. This will install connectcord globally.

  • To create a project, type connect, or simply type connect new <name of project>

  • Follow the steps and enter your Bot Token and Prefix.

  • Once done, cd into your project by typing cd <name of project>

  • To run the bot, type npm run dev. This will run the bot using nodemon, you MUST have nodemon installed, otherwise, use npm run start

Generating Commands

  • ConnectCord allows you to generate commands into categories. You can type connect and select Generate to generate a command, or connect new command.

  • It will ask you for a name, and then a category. This will generate all commands in the src/commands folder, in the correct category.

Generating Events

  • You can generate events by running connect new event, this will prompt you to select which events you would like to generate.

  • To select event(s), press space bar and use the up and down arrow keys to navigate. Hit enter when you're done and your event files will be generated in the src/events folder.

Will ConnectCord support TypeScript?

  • Soon

ConnectCord now supports TypeScript as of 11/21/2020!

You must have TypeScript installed. However, if you don't, during the installation process, if you selected TypeScript, ConnectCord will ask you if you would like to install TypeScript, ts-node, and setup a basic tsconfig.json file. If you enter n (no), you will have to install these manually.

ts-node is a TypeScript interpreter for Node.JS, the dev script uses it along with nodemon, so be sure you have nodemon installed.

Otherwise, if you have TypeScript installed, you can skip this part and just run npm run build and then npm run start

Will ConnectCord support Python?

  • Soon
2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago