swiftscript
v1.0.2
Published
An interactive package to interect with swiftscript api
Downloads
11
Maintainers
Readme
Features
- Easy To Use
- Lightweight
- Easy Integration
- Object-oriented
Installation
Node.js 16.9.0 or newer is required.
npm install swiftscript
or
npm install github.com/AAYAN717628/SwiftScript
Example
const SwiftScript = require("swiftscript");
const swiftscript = new SwiftScript("TOKEN")
// TRUTH
const truth = swiftscript.truth().then(x => console.log(x))
// DARE
const dare = swiftscript.dare().then(x => console.log(x))
// RANDOM TRUTH AND DARE
const rtnd = swiftscript.randomtnd().then(x => console.log(x))
// TRIVA
const triva = swiftscript.triva(2).then(x => console.log(x))
// BORED
const bored = swiftscript.bored().then(x => console.log(x))
// GUESS AGE
const age = swiftscript.agethink("aayan").then(x => console.log(x))
// GUESS GENDER
const gen = swiftscript.genderthink("aayan").then(x => console.log(x))
// ANIME FACTS
const af = swiftscript.animefacts().then(x => console.log(x))
// RANDOM FACTS
const facts = swiftscript.randomfacts().then(x => console.log(x))
// PARANOIA
const paranoia = swiftscript.paranoia().then(x => console.log(x))
// DEVELOPER LINES
const dev = swiftscript.developerlines().then(x => console.log(x))
// NORMAL LINES
const lines = swiftscript.lines().then(x => console.log(x))
// IMAGE SEARCHER
const img = swiftscript.imgsearch("tv").then(x => console.log(x))
Documentation
How to get Access Token ?
Vist these website register yourself after that you will been redirect to dashboard , on left side panel there will be a button named "Token" click on that and the token will be copied.
Authors
Support
For support, join our discord server