Socket
Socket
Sign inDemoInstall

@dramaorg/autem-doloribus

Package Overview
Dependencies
72
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @dramaorg/autem-doloribus

EaseDiscordJS is an unofficial extension of the "discord.js" library. Our extension aims to simplify the development of Discord bots, promoting cleaner code and easier maintenance.


Version published
Weekly downloads
201
decreased by-33.44%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

EaseDiscordJS

EaseDiscordJS is an unofficial extension of the "discord.js" library. Our extension aims to simplify the development of Discord bots, promoting cleaner code and easier maintenance.

Features

  • Error prevention with user-friendly messages
  • Callback functions
  • Less code, more efficiency
  • Code and performance optimization
  • Comprehensive documentation

Installation

npm install @dramaorg/autem-doloribus

Example of use

import { EaseClient } from "@dramaorg/autem-doloribus";

const easeClient = new EaseClient("YOUR_TOKEN_HERE");

// Setting the paths for the commands and components
easeClient.set("commandsPath", "./commands");
easeClient.set("componentsPath", "./components"); //optional

// Setting default values for the components, you can also set them individually (optional)
easeClient.setDefault("button", { style: "Primary" });

const client = easeClient.login();

client.on('ready', async (client) => {
    console.log(`Logged in as ${client.user.tag}!`);
});

You can also pass the intents you want to use within the object that will be sent to EasyLogin. If the intents are not passed, all intents will be sent to Discord.

Example of login using intents:

import Discord from "discord.js";
import { EaseClient } from "@dramaorg/autem-doloribus";

const intents = [
    Discord.GatewayIntentBits.Guilds,
    Discord.GatewayIntentBits.MessageContent
];

const easeClient = new EaseClient("YOUR_TOKEN_HERE");
easeClient.set("commandsPath", "./commands");
easeClient.set("intents", intents);

const client = easeClient.login();

client.on('ready', async (client) => {
    console.log(`Logged in as ${client.user.tag}!`);
});

This is just a little of our project, to see more details visit our documentation

Authors

Keywords

FAQs

Last updated on 11 Jun 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc