6.0.0 • Published 3 years ago

userinfo-github v6.0.0

Weekly downloads
51
License
MIT
Repository
github
Last release
3 years ago

Userinfo-Github

The package help you to get a github user info and etc

Userinfo-Github

How to install?

npm i userinfo-github

Feature

  • User Friendly

  • Easy To Use

  • Already Embeded

  • Easy Functions

Example

DISCORD.JS

const Discord = require("discord.js");
const client = new Discord.Client()
const { Info } = require("userinfo-github") //required module
const github = new Info(); // new info


client.on("ready", () => {
  console.log("Im on!")
})

client.on("message", async message => {
  if(message.content === "!info") {
  let info =  await github.fetchInfo("RPGTheGreat")
    message.channel.send(info) 
  }
})

ERIS

const Eris = require("eris")
const client = new Eris("token")
const { Info } = require("userinfo-github")
const github = new Info()

client.on("messageCreate", async msg => {
  if(msg.content === "!info") {
    let info = await github.getInfo("RPGTheGreat")
    msg.createMessage(msg.channel.id, info)

Events

error - Returns error when error on response

Links

6.0.0

3 years ago

5.0.0

4 years ago

4.0.0

4 years ago

3.0.0

4 years ago

2.8.0

4 years ago

2.2.0

4 years ago

2.0.0

4 years ago

1.6.0

4 years ago

1.2.0

4 years ago

1.0.0

4 years ago