firelist.js

0.0.1 • Public • Published

FireList

Kullanıcının oy verip vermediğini kontrol etme

const Discord   = require("discord.js"),
      client    = new Discord.Client(),
      a = require('firelistapi.js'),
      b    = new a('Anahtarınız');



client.on('message', async (msg) => {
  let check = await b.oykontrol(msg.author.id)
  if (check) {
    // Eğer oy vermiş ise
  } else {
    // Eğer oy vermemiş ise
  }
})

Bot bilgilerini gönderme

const Discord   = require("discord.js"),
      client    = new Discord.Client(),
      a = require('firelistapi.js'),
      b    = new a('Anahtarınız');



client.on('message', async (msg) => {
  await b.yolla(client.guilds.cache.size)
})

Bot bilgilerini gösterme

const Discord   = require("discord.js"),
      client    = new Discord.Client(),
      a = require('firelistapi.js'),
      b    = new a('Anahtarınız');



client.on('message', async (msg) => {
 let bot =  await b.bot("botid")
  console.log(bot)//console a botun bilgilerini atar
})

/firelist.js/

    Package Sidebar

    Install

    npm i firelist.js

    Weekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    11.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • enes.nullman