Skip to content

realistga/API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

realist.js

Join our discord
Support: https://discord.com/MsdGCyC3ry
NPM: npmjs.com/package/realist.js

Installation

If you have trouble with the installation, please feel free to visit our discord address.

  • npm i realist.js

Define Module & Client

const Discord = require("discord.js");
const client = new Discord.Client();
const realist = require("realist.js");
const dbl = new realist("TOKEN-HERE", client);

client.login("TOKEN_HERE");

Certificate Application

dbl.certificateApplication("Bla bla bla bla bla bla bla bla bla bla bla bla...", () => {
    console.log("Certificate successfully applied.");
})

Vote Checking

dbl.checkVote("userId").then((value) => {
    if(value === 1) {
        console.log("User voted.")
    } else {
        console.log("User not voted.")
    }
})

**All right reserved to ReaList & vCodes**

All Operations

const realist = require('vcodes.js');
const { Client } = require("discord.js");
const client = new Client();
const dbl = new vCodes("vCodes-Bot-Token-Here", client)

dbl.on("ready", () => {
    console.log('ReaList ready!')
})

dbl.checkVote("userId").then((value) => {
    if(value === 1) {
        console.log("User voted.")
    } else {
        console.log("User not voted.")
    }
})

dbl.certificateApplication("Bla bla bla bla bla bla bla bla bla bla bla bla...", () => {
    console.log("Certificate successfully applied.");
})

client.on("ready", () => {
    console.log("Logged as in "+client.user.tag)
})

client.login("Discord-Bot-Token")

All right reserved to ReaList and vCodes

About

An powerful api for developers using realistga

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published