For errors and questions you can join our support server
From NPM:
npm install cryptons-api
You will need your Cryptons API key to use cryptons-api
.
Keys can be found at: https://discord.gg/vUYvswzwMH
const { Covid } = require('cryptons-api')
//world
new Covid({
message: message,
country: 'world',
title: title,
description: 'Covid Cases',
color: 'RANDOM',
footer: 'Made By Cryptons API NPM',
addFieldOption : true || false
})
// covid
new Covid({
message: message,
country: 'india',
title: title,
description: 'Covid Cases',
color: 'RANDOM',
footer: 'Made By Cryptons API NPM',
addFieldOption : true || false
})
const { IMDB } = require('cryptons-api')
new IMDB({
message: message,
key: 'IMDB_KEY',
movie: 'Movie Name'
})
// checks your token let check = keyutil.checkKey() console.log(check)
- Logo Game for Discord.js
```js
const { LogoGame } = require('cryptons-api')
new LogoGame({
token: 'Cryptons-Token',
message: message
})
const { insult } = require('cryptons-api')
insult(r =>{
console.log(r)
})
const { randomusername } = require('cryptons-api')
randomusername(r =>{
console.log(r)
})
const { script } = require('cryptons-api')
script(r =>{
console.log(r)
})
const { namserver } = require('cryptons-api')
nameserver('https://cryptons.ga' , r =>{
console.log(r)
})
const { MS } = require('cryptons-api')
const ms = new MS({
size: 20,
bomb: 10
})
ms.output()
// Covid For a country
const { covid } = require('cryptons-api')
covid((country ,cases , recov , death , dischargerate , deathrate , closed , flaglink) =>{
console.log(country + cases + recov + death + dischargerate + deathrate + closed + flaglink )
})
//Covid World
const { covidWorld } = require('cryptons-api')
covidWorld((cases , deaths, recov , active, close,mild, critical)=>{
console.log(cases + deaths + recov + active + close + mild + critical)
})
const { discorduser } = require('cryptons-api')
discorduser(discord_id , (username , avatar , disriminator , banner , banner_color , accent_color)=>{
console.log(username + avatar + disriminator + banner + banner_color + accent_color)
})
const { stats } = require('cryptons-api')
stats((node, platform , cpu , arch , memuse) =>{
console.log(node + platform + cpu + arch + memuse)
})
const { script } = require('cryptons-api')
script(r =>{
console.log(r)
})
const { meme } = require('cryptons-api')
meme((img , title , upvote , downvote , comments , url)=>{
console.log(`image: ${img} , title: ${title} , upvotes: ${upvotes} , downvotes: ${downvotes} , comments: ${comments} , url: ${url}`)
})
const { clyde } = require('cryptons-api')
const a = new clyde({
text: something_here
})
message.channel.send(a)
Captcha
cti
mocktext
pablo
pabloeveryone
const { twobuttons } = require('cryptons-api')
const a = new twobuttons({
btn1: something_here,
btn2: something_here_as_well,
})
const api = require('cryptons-api')
const crypton = new api.client({
token:'key here (optional)'
})
////////////////////////////////
crypton.tokencheck(res =>{console.log(res)})
////////////////////////////////
crypton.stats((node , platform , cpu , arch , memuse)=>{console.log(`node: ${node}, platform: ${platform} , arch: ${arch} , memuse: ${memuse}`)})
////////////////////////////////
crypton.meme((img , title , upvote , downvote , comments , url)=>{
console.log(`image: ${img} , title: ${title} , upvotes: ${upvotes} , downvotes: ${downvotes} , comments: ${comments} , url: ${url}`)
})
////////////////////////////////
crypton.discorduser(discord_id , (username , avatar , disriminator , banner , banner_color , accent_color)=>{console.log(all things)})
////////////////////////////////
crypton.insult(insult =>{console.log(insult)})
////////////////////////////////
crypton.nameservers(domain , result=>{console.log(result)})
////////////////////////////////
crypton.userbanner(discord_id , res=>{console.log(res)})
////////////////////////////////
crypton.covidworld((cases , deaths, recovered , active, closedcases,mildcases, criticalcases)=>{console.log(cases + deaths + recovered + active + closedcases + mildcases + criticalcases)})
////////////////////////////////
crypton.covid((country ,cases , recov , death , dischargerate , deathrate , closed , flaglink) => {console.log(country + cases + recov + death + dischargerate + deathrate + closed + flaglink)})