0.3.6 • Published 12 months ago

discord-sempai v0.3.6

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

Discord sempai

NPM Version NPM Downloads

Discord sempai is a library for creating Discord bots using Discord.js.

Installation

To install Discord sempai, follow these steps:

  • Install Node.js on your computer.
  • Open the terminal and navigate to the directory where your project will be located.
  • Enter the following command: npm install discord-sempai

Usage

To start using Discord sempai, follow these steps:

  • Create a new Node.js project.
  • Install Discord sempai, as described above.
  • Import the library into your project:
const { Bot } = require('discord-sempai');
// Create a new instance of Bot:

const bot = new Bot({
  prefix: ["!", "%"],
  status: "dnd"
});
// Use the library's methods to create the necessary functionality for your bot.

bot.createEvent({
  name: 'ready',
  code: (client) => {
  console.log(`Logged in as ${client.user.tag}!`);
  }
});

bot.command({
  name: 'ping',
  code: (client, message, args) => {
   message.reply("Pong " + client.ws.ping)
  }
});

bot.connect("DISCORD_BOT_TOKEN");

Documentation

In development.

License

Discord sempai is available under the MIT license. See the LICENSE file for more information.

0.3.6

12 months ago

0.3.5

1 year ago

0.3.4

1 year ago

0.3.0

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.3

1 year ago

0.3.0-beta.14

1 year ago

0.3.0-beta.13

1 year ago

0.3.0-beta.12

1 year ago

0.3.0-beta.11

1 year ago

0.3.0-beta.18

1 year ago

0.3.0-beta.17

1 year ago

0.3.0-beta.16

1 year ago

0.3.0-beta.15

1 year ago

0.3.0-beta.10

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.5

1 year ago

0.0.11-beta.1

1 year ago

0.0.10

1 year ago

0.0.10-beta.3

1 year ago

0.0.10-beta.2

1 year ago

0.0.10-beta.1

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago