2.1.0 • Published 10 months ago
aly_facts v2.1.0
Aly_facts
This package provides facts about a user on discord named entity_night aka aly aka Alyssa.
This package is for private purposes only.
To install run in the console:
npm i aly_facts
or
yarn add aly_facts
This package contains 4 functions
getFact()
getAllFacts()
version()
getAlyPics()
How to use getFact()
This function returns a random fact about aly.
You can simply paste the following code snippet:
const aly = require('aly_facts');
const fact = aly.getFact();
console.log(fact)
or
const fact = require('aly_facts').getFact();
console.log(fact)
How to use getAllFacts()
This function returns all facts for aly at one.
This code snippet will help you:
const aly = require('aly_facts')
const facts = aly.getAllFacts()
console.log(facts)
or
const facts = require('aly_facts').getAllFacts()
console.log(facts)
How to use version()
This function returns the package version.
Code snippet:
const version = require('aly_facts').version()
console.log(version)
How to use getAlyPics()
This function returns random pics of aly.
Code snippet:
const aly = require('aly_facts')
const pic = aly.getAlyPics()
console.log(pic)
//or
const pic = require('aly_facts').getAlyPics()
console.log(pic)
// Note: This function returns image urls hosted on discord's cdn. So console.log will not show the pic itself. instead will return just the url.
Contributions
Server Developer
- Main Developer
Entity_Night aka Aly
- Facts Provider and the person the api is based on.
Reviews
〝 aly_facts is a very helpful package〞 - Husky#2154 〝 It's a package which gives some weird facts〞 - Harshit#1578
Want some more functions or want to fix an issue?
Go to our github repo listed below or join this discord server and make a ticket: **Discord**
Links
Promoted
*Power Guilds - A security bot for Guilded*