2.2.2 • Published 3 years ago

techii v2.2.2

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

Techii CLI

Table of contents

  • Installation
  • Usage
  • Getting a token
  • What is a prefix?

Installation

In your terminal, run npm i techii.

Getting a token

  1. To get a token, you must create an application. To create an application, go to the discord developer portal.
  2. Click "create new", and name it the name you want to name your bot. (You can always change it later).
  3. Go to the "bot" tab and click "create a bot". Confirm using "Yes, do it".
  4. Now, go to the oAuth2 tab and click the "bot" parameter, then click the permissions you need for the bot.
  5. Copy the link and invite the bot to your server.
  6. Now go back to the "bot" tab and click "copy" on the token.

There you go!

What is a prefix

  • A prefix is the character that comes before the command. For example, in )help, the ) character is the prefix. Another example is -help, where the prefix is -.

Usage

To use the techii package, run npx techii in your terminal. Select "New Project". This will prompt you to enter your token (see getting a token) and your prefix (see what is a prefix?).
Press enter, and it will install the discord.js and fs modules, and create a command and event handler.

Making new commands

To make new commands, run npx techii in your terminal. This time, select "Generate Command/Event". Select "Command". If you are coding your own command, select "Make your own". If you want to select from a range of auto-generated commands, select "Pre-generated". If you are making your own, enter the command category and command name. There you go! Now go inside the 'commands' folder, go inside the folder of your category, and select the file that says 'cmd name.js'. Now enter your code in the run function!

Making new events

To make new events, run npx techii in your terminal. This time, select "Generate Command/Event". Select "Event". Enter the event usage, such as mod-logs. Then select the event you are using. There you go! Now go inside the 'events' folder, go inside the folder of your event, and select the file that says 'usage.js'. Now enter your code in the module.exports = (bot) => {} function!

TIP: Watch Mr. Techy on YouTube for tutorials on using this CLI/command handler.

2.2.2

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.10

3 years ago

2.1.9

3 years ago

2.1.8

3 years ago

2.1.7

3 years ago

2.1.6

3 years ago

2.1.5

3 years ago

2.1.4

3 years ago

2.1.3

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.2.10

3 years ago

1.2.9

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago