Skip to content

PAW122/senti_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Senti Client

GitHub License Version npm Downloads Discord

Senti Client is a JavaScript library that provides a simple and intuitive way to interact with the Discord API.

Features

  • Easy-to-use interface for interacting with the Senti API.
  • Simplified methods for sending and receiving data.
  • Enhanced error handling and response parsing.

Installation

You can install the Senti Client library using npm:

npm install senti-client

How to start

const { SentiClient } = require("senti_client");

// Creating a new client instance
const senti = new SentiClient();

//set bot token and command prefix
const bot_token = "YOUR_DISCORD_BOT_TOKEN";
const prefix = ">";

let options = {
    intents: 32767
}

//execute when bot is ready
senti.once("ready", (client) => {
    console.log(client.user.username + " is ready")
});

//execute when user send message
senti.on("messageCreate", (message, obj) => {
    console.log(message.content);
});

//connect bot to discord servers
senti.connect(bot_token, options);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published