Socket
Book a DemoInstallSign in
Socket

@aloima/elisjs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aloima/elisjs

A functional Discord API wrapper focused on stability and performance.

0.1.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

elisjs

A functional Discord API wrapper focused on stability and performance.

Documentation

Has a documentation but too bad so I didn't give its link.

Example

const elisjs = require("elisjs");
const client = elis.create("your token" {
  compress: true // default value is false, enables zlib-stream parsing.
});

client.events.ready = (() => {
  client.user.presence.setStatus("dnd");
  client.user.presence.addActivity({
    name: "activity name",
    type: 0
  });
});

client.events.messageCreate = (async (message) => {
  await message.channel.send(`this message written by <@!${message.author.id}>.`);
});

client.login();

Modules

You can use zlib-sync package for compress option for now.

Supporting

  • Message
  • Guild
  • Channel (TextChannel)
  • Client (zlib-stream compress)
  • Presences (partially)

Support server

You can take support in this server in #elisjs-support.

Keywords

elisjs

FAQs

Package last updated on 20 Jul 2021

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.