@evolvejs/core
TypeScript icon, indicating that this package has built-in type declarations

0.3.2-alpha • Public • Published

EvolveJS Logo

Discord Twitter License Downloads Dependencies


Status Banner

What is EvolveJS?

EvolveJS is a Discord Library in which bots can be made. We provide high control over the module so that the customizability can be the top of the level. Have fun with the library and happy coding :)

Node and Deno Support

Often times people ask node and deno are different in many ways so how can a library be present in both? Well in our case we have a simple script which just changes some of the internals of the library and pushed to the deno-master branch... Note: The Docs are valid for both node and deno as the user experience is same...

Installation

Node Usage

npm install @evolvejs/evolvejs

Deno Usage

  • Import from https://deno.land/x/evolvejs

Important

You need the following things before you can kick off with EvolveJS:

Node:

Deno

Documentation and Support

  • Official Docs Note :- The Docs aren't completed
  • For any further query and support join us at EvolveJS discord.

Basic Startup Guide

Example code for running the client

const { EvolveBuilder, GatewayIntents, CacheOptions } = require("@evolvejs/evolvejs")
const client = new EvolveBuilder()
                    .setToken("")
                    .setShards(2)
                    .enableIntents(GatewayIntent.GUILD)
                    .enableCache(CacheOptions.GUILD)
                    .build()

client.on("clientReady", () => {
  console.log(client.user.username) // logs the client's username when all shard is ready
})

client.sharder.on("shardSpawn", (id) => console.log(`${id} shard is now online`))
client.sharder.on("shardDestroy", (id) => console.log(`${id} shard is destryed`))

Incase of Deno use https://deno.land/x/evolvejs instead of @evolvejs/evolvejs

More Information

  • If you want to use ETF for Payloads Sending, just use EvolveBuilder#setEncoding, make sure to install erlpack, as it's a dev dependency of the package
  • If you want to contribute, you can star the repo or make pull request, but the pull request should be on the development branch, id you are adding anything from #4, just comment saying feature has been implemented

Author(s)

Contributor

Package Sidebar

Install

npm i @evolvejs/core

Weekly Downloads

1

Version

0.3.2-alpha

License

AGPL-3.0-or-later

Unpacked Size

1.34 MB

Total Files

264

Last publish

Collaborators

  • evolvejs