1.0.5 • Published 4 years ago

myshop.js v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Cloud Discord List

Cloud Discord List is an online platform that lists bots for discord

Usage

var cdl = require("cloud-list") 
var cloud_client = new cdl("Client id","Client Api Token") 

Getting Started

Client - discord.js/Eris Client

Posting Guild count:

cloud_client.post(client)

Response:

cloud-list Guild Count Posted!

Auto Post guild count:

Auto post guild count 1 once every 1 minute

cloud_client.autoPost(client)

Response:

cloud-list Guild Count Posted!

Get bot Stats:

cloud_client.getStats(client).then(function(data) {
  console.log(data)
}).catch(function(err) {
    if(err) return console.log(err)
});

Response:

> Returns a Promise that resolves to:
{ votes: <int>,
  name: '<string>',
  library: '<string>',
  id:<int>,
  prefix: '<string>',
  long_description: '<string>',
  short_description: '<string>',
  month_votes: <int>,
  server_invite: '<string>',
  owner: '<string>',
  website: '<string>',
  other_owners: Array<string>}

Check If user has Voted:

cloud_client.hasVoted("User_id").then(function(data) {
   console.log(data)
}).catch(function(err) {
   if(err) return console.log(err)
});

Response:

if User Has not voted yet returns: (User has not voted yet)!

if User has voted:

> Returns a Promise that resolves to:
{ id:<String>, 
  vote: <int>}

Dependencies

Terms and service

TOS for details on our services

Website

Cloud List

Authors

  • BruBrunin - Library Developer
1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago