nidhishpackage
v1.7.8
Published
This is a fun package for [Discord](https://discord.com) The library is [Discord.js](https://discord.js.org)
Downloads
42
Maintainers
Readme
Package made by Nidhish#1295 & DWORD#0001
This is a fun package for Discord The library is Discord.js
Having any trouble? Join this server
npm i nidhishpackage
*Some content is used from srod-v2, i had permission to do this.
Table Of Contents
- Calculator
- Embed Pages
- Random String
- Chat Bot
- Inline Replies
- TicTacToe
- Would You Rather
- Connect Four
- Snake Game
- Guess The Number
- Emojify
- Owoify
- Reddit Memes
- Fact
- Joke
- Quotes
- Anime Quotes
- Animals
- NSFW
- SFW
Utilities
EmbedPages
const { MessageEmbed } = require("discord.js");
const { embedpages } = require("nidhishpackage");
const embed1 = new MessageEmbed()
.setTitle(`test`)
const embed2 = new MessageEmbed()
.setTitle(`test2`)
const pages = [
embed1,
embed2
]
const embedPages = new embedpages({
pages: pages,
channel: message.channel,
});
embedPages.createPages();
RandomString
const nidhish = require("nidhishpackage");
console.log(nidhish.password(7))
ChatBot
const { chatbot } = require('nidhishpackage')
chatbot(message);
InlineReplies
Put this in your index.js
const Discord = require('discord.js')
require('nidhishpackage')
const client = new Discord.Client()
Now to use it
if(message.content.startsWith('!help')){
return message.noMentionReply('The list of my commands') // This is so it won't mention the person
return message.mentionReply('The list of my commands') // This is so it will mention the person
}
Games
TicTacToe
const { tictactoe } = require('nidhishpackage')
let user = message.mentions.members.first()
if(!user) return message.channel.send('please mention someone to play against')
let game = new tictactoe({
message: message,
player_two: user,
});
ConnectFour
const nidhish = require('nidhishpackage')
const ConnectFour = new nidhish.connectfour()
ConnectFour.startGame(message)
SnakeGame
const nidhish = require('nidhishpackage')
const SnakeGame = new nidhish.SnakeGame()
SnakeGame.startGame(message)
GuessTheNumber
const nidhish = require('nidhishpackage')
const guessthenumber = new nidhish.guessthenumber()
guessthenumber.startGame(message)
Fun
Emojify
const nidhish = require(`nidhishpackage`)
const emojified = await nidhish.emojify('Random Text Here');
message.channel.send(emojified);
Owoify
const nidhish = require(`nidhishpackage`)
const owoified = await nidhish.owoify('Random Text Here');
message.channel.send(owoified); //owoify text
Memes
const nidhish = require(`nidhishpackage`)
const Meme = await nidhish.getmeme();
return message.channel.send(Meme);
Quotes
const nidhish = require(`nidhishpackage`)
const quote = await nidhish.generateQuote({ Color: "Color Here"})
return message.channel.send(quote);
AnimeQuotes
const nidhish = require(`nidhishpackage`)
const quote = await nidhish.generateAnimeQuote({ Color: "Color Here"})
return message.channel.send(quote);
Fact
const nidhish = require(`nidhishpackage`)
const Data = await nidhish.getfact({ Color: "Color Here" });
return message.channel.send(Data);
Joke
const nidhish = require(`nidhishpackage`)
const Data = await nidhish.getjoke({ Color: "Color Here" });
return message.channel.send(Data);
Animals
Koala And Redpanda
This wasn't in the api I used but I really liked them so below if how you get redpanda or koala.
const nidhish = require("nidhishpackage");
const randomImage = new nidhish({
type: 'embed'
});
await randomImage.Koala(message) // change Koala to Redpanda to use redpanda
Below is an example of one animal, you can change it to the list below the example for a different one.
const nidhish = require(`nidhishpackage`)
const animal = await nidhish.animalimage({ Animal: "animal here", Color: "hex code here" });
return message.channel.send(animal); //all available animals are in the list below
List of all animals
| Animals | Description |
|----------|------------------------|
| Cat | Sends a cat image |
| Duck | Sends a duck image |
| Dog | Sends a dog image |
| Llama | Sends a llama image |
| Alpaca | Sends an alpaca image |
| Seal | Sends a seal image |
| Panda | Sends a panda image |
| Bird | Sends a bird image |
| Fox | Sends a fox image |
| Wolf | Sends a wolf image |
| Camel | Sends a camel image |
| Lizard | Sends a lizard image |
NSFW
const nidhish = require(`nidhishpackage`)
const Data = await nidhish.gethpussy({ Color: "Color Here" });
return message.channel.send(Data);
List of all NSFW content
| NSFW | Description | |------------------|--------------------------------| | gethpussy | Sends a Hentai Pussy img/gif | | gethboobs | Sends a Hentai Boobs img/gif | | getRandomHGif | Sends a RandomHentai img/gif | | getherok | Sends a Hentai Erok img/gif | | gethfeetg | Sends a Hentai Feet img/gif | | gethlesbian | Sends a Hentai lesbian img/gif | | gethbj | Sends a Hentai Blowjob img | | getbjgif | Sends a Hentai Blowjob gif | | gethtrap | Sends a Hentai Trap img/gif |
SFW
const nidhish = require(`nidhishpackage`)
const Data = await nidhish.getneko({ Color: "Color Here" });
return message.channel.send(Data);
List of all SFW content
| sfw | Description | |------------------|--------------------------------| | getneko | Sends an Neko image | | getnekogif | Sends a Neko gif | | getRandomHGif | Sends a RandomHentai image/gif | | geterok | Sends a Erok image/gif | | getfeetg | Sends an Feet image/gif | | getwallpaper | Sends a Random Wallpaper | | getfoxgirl | Sends a Random Foxgirl img |