This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

discord-sempai

0.3.6 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i discord-sempai

Weekly Downloads

2

Version

0.3.6

License

ISC

Unpacked Size

109 kB

Total Files

43

Last publish

Collaborators

  • crazy-sempai07