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

1.1.8 • Public • Published

About

Ourcord is a new and alternative discord library for js that focuses on speed and simplicity while retaining low level functions of the discord API

npm npm npm npm

Table of Contents

Installation

npm i ourcord

That's it for installation 🎈

Usage

const { Client } = require("ourcord");
const client = new Client("your bot token here");
client.connect();

client.on("ready", () => {
  console.log("Client connected!");
});

Client Config </>

Option Type Default Description Optional?
browser string ourcord Specify the browser you want to connect via (can be anything) yes
device string ourcord The device you want to connect with (can be anything) yes
prefix string null Specify the prefix for the bot yes
cacheChannels boolean false Whether or not to cache channels yes
cacheGuilds boolean false Whether or not to cache guilds yes
cacheUsers boolean false Whether or not to cache users yes
cacheMembers boolean false Whether or not to cache guild members yes
activity object No activity The activity you want to appear on your client on connect yes
status string dnd The status you want your client to connect with yes

Links

Discord server
Examples


Collaborators

Dice

Matthew

Misly

Starman

Voltrex Master

null

/ourcord/

    Package Sidebar

    Install

    npm i ourcord

    Weekly Downloads

    19

    Version

    1.1.8

    License

    MIT

    Unpacked Size

    61.7 kB

    Total Files

    42

    Last publish

    Collaborators

    • dice2213
    • steadmatthew