djs-tabh
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

A library to make your discord bot easily.

djs-tabh is a simple package to easily create a discord.js bot.

Documentation

Install the package

$ npm install djs-tabh

Importing the package

const tabh = require("djs-tabh");

Using the features

  • ping
const { ping } = require("djs-tabh");

ping({
  message: message, // the message object. required
  client: bot // your client object. required
});

Output:

ping

  • tictactoe
const { tictactoe } = require("djs-tabh");

tictactoe({
  message: message, // the message object. required
  player1: message.author, // player 1, required (user object)
  player2: message.mentions.users.first() // player 2, required (user object)
});

Output:

tictactoe

/djs-tabh/

    Package Sidebar

    Install

    npm i djs-tabh

    Weekly Downloads

    0

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    14.1 kB

    Total Files

    14

    Last publish

    Collaborators

    • techallbyharshit