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

0.0.1 • Public • Published

aoijs

Zeneth

A NodeJs Library that make interaction with discord api

Installation

npm i zeneth

or

yarn add zeneth

Setup

const {
    Client,
    Intents,
    GatewayEventNames,
} = require("zeneth");

const client = new Client({
    intents: Intents.Guilds | Intents.GuildMessages | Intents.MessageContent,
    token: "Token" ,
});


client.on(GatewayEventNames.Ready, () => {
    console.log("Ready!");
});

client.on(GatewayEventNames.MessageCreate, async(message) => {
    if (message.content === "!ping") {
        await client.createMessage(message.channelId, {
            content: "Pong!",
        });
    }
});

Structure

graph LR

A[Zeneth] --> B[Classes]
A --> C[Client]
A --> D[Error]
A --> E[Events]
A --> F[Plugins]
A --> G[Request]
A --> H[Typings]
A --> I[Utils]
A --> J[Websocket]

LICENSE

Apache 2.0

Our ♥️ Contributors

zeneth-contributors

Package Sidebar

Install

npm i zeneth

Weekly Downloads

925

Version

0.0.1

License

Apache-2.0

Unpacked Size

950 kB

Total Files

365

Last publish

Collaborators

  • leref
  • usersatoshi