Skip to content

Commit

Permalink
update V.2 Reworks
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill716 committed Aug 9, 2022
1 parent b46e5da commit d145f09
Show file tree
Hide file tree
Showing 10 changed files with 282 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
package-lock.json
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Sayrix

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
42 changes: 38 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,38 @@
# Rias-Gremory
Note The library use for NSFW content stop sending the photo or any of the 18+ content so this bot is no longer work.
Until I find a new library that are good with a NSFW/18+ content.
If you need a update just add me over at Discord: Super Friends Zone#5448
# NSFW Bot

NSFW Bot is an open-source discord bot that has nsfw commands running with the nekobot.xyz api.

## Commands :

- NSFW Commands 🔞 : `4k`, `anal`, `ass`, `boobs`, `hanal`, `hass`, `hboobs`, `hentai`, `hkitsune`, `hmidriff`, `hneko`, `holo`, `kemonomimi`, `neko`, `pgif`, `pussy`, `yaoi`
- Other Commands 🧷 : `help`, `stats`

## How to install ?

```bash
git clone https://github.com/Sayrix/NSFW-Bot
cd NSFW-Bot
npm i
```

## How to config ?

```json
//config.json
{
"prefix": "your prefix",
"token": "your token",
"owners": ["OWNER ID"],
"footer": "NSFW Bot • is.gd/nsfwbot",

"msg": {
"nsfwWarn": "You must use this command in an nsfw channel!",
"loading": "Please wait...",
"imageNotLoading": "Image not loading ? Click Here"
}
}
```



## Many thanks to the people who will put a ⭐!
43 changes: 43 additions & 0 deletions commands/nsfw/ass.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
const Discord = require("discord.js"),
commandName = __filename.slice(__dirname.length + 1, -3),
disbut = require("discord-buttons");

exports.run = async (client, message, args) => {
if (!message.channel.nsfw) return message.channel.send(client.config.msg.nsfwWarn)

let load = new Discord.MessageEmbed()
.setDescription(client.config.msg.loading)
.setTimestamp()

message.channel.send(load).then(m => {

client.superagent.get('https://nekobot.xyz/api/image').query({
type: commandName
}).end((err, response) => {

let button = new disbut.MessageButton()
.setStyle('url')
.setURL(response.body.message)
.setLabel(client.config.msg.imageNotLoading);

let embed = new Discord.MessageEmbed()
.setTimestamp()
.setImage(response.body.message)
.setFooter(client.config.footer)

m.edit(embed, button);
});
});
};

exports.help = {
name: commandName,
description: `Send a ${commandName} image.`,
usage: commandName,
example: commandName
};

exports.conf = {
aliases: [],
cooldown: 5 // Integer = second.
};
43 changes: 43 additions & 0 deletions commands/nsfw/boobs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
const Discord = require("discord.js"),
commandName = __filename.slice(__dirname.length + 1, -3),
disbut = require("discord-buttons");

exports.run = async (client, message, args) => {
if (!message.channel.nsfw) return message.channel.send(client.config.msg.nsfwWarn)

let load = new Discord.MessageEmbed()
.setDescription(client.config.msg.loading)
.setTimestamp()

message.channel.send(load).then(m => {

client.superagent.get('https://nekobot.xyz/api/image').query({
type: commandName
}).end((err, response) => {

let button = new disbut.MessageButton()
.setStyle('url')
.setURL(response.body.message)
.setLabel(client.config.msg.imageNotLoading);

let embed = new Discord.MessageEmbed()
.setTimestamp()
.setImage(response.body.message)
.setFooter(client.config.footer)

m.edit(embed, button);
});
});
};

exports.help = {
name: commandName,
description: `Send a ${commandName} image.`,
usage: commandName,
example: commandName
};

exports.conf = {
aliases: [],
cooldown: 5 // Integer = second.
};
43 changes: 43 additions & 0 deletions commands/nsfw/hentai.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
const Discord = require("discord.js"),
commandName = __filename.slice(__dirname.length + 1, -3),
disbut = require("discord-buttons");

exports.run = async (client, message, args) => {
if (!message.channel.nsfw) return message.channel.send(client.config.msg.nsfwWarn)

let load = new Discord.MessageEmbed()
.setDescription(client.config.msg.loading)
.setTimestamp()

message.channel.send(load).then(m => {

client.superagent.get('https://nekobot.xyz/api/image').query({
type: commandName
}).end((err, response) => {

let button = new disbut.MessageButton()
.setStyle('url')
.setURL(response.body.message)
.setLabel(client.config.msg.imageNotLoading);

let embed = new Discord.MessageEmbed()
.setTimestamp()
.setImage(response.body.message)
.setFooter(client.config.footer)

m.edit(embed, button);
});
});
};

exports.help = {
name: commandName,
description: `Send a ${commandName} image.`,
usage: commandName,
example: commandName
};

exports.conf = {
aliases: [],
cooldown: 5 // Integer = second.
};
43 changes: 43 additions & 0 deletions commands/nsfw/holo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
const Discord = require("discord.js"),
commandName = __filename.slice(__dirname.length + 1, -3),
disbut = require("discord-buttons");

exports.run = async (client, message, args) => {
if (!message.channel.nsfw) return message.channel.send(client.config.msg.nsfwWarn)

let load = new Discord.MessageEmbed()
.setDescription(client.config.msg.loading)
.setTimestamp()

message.channel.send(load).then(m => {

client.superagent.get('https://nekobot.xyz/api/image').query({
type: commandName
}).end((err, response) => {

let button = new disbut.MessageButton()
.setStyle('url')
.setURL(response.body.message)
.setLabel(client.config.msg.imageNotLoading);

let embed = new Discord.MessageEmbed()
.setTimestamp()
.setImage(response.body.message)
.setFooter(client.config.footer)

m.edit(embed, button);
});
});
};

exports.help = {
name: commandName,
description: `Send a ${commandName} image.`,
usage: commandName,
example: commandName
};

exports.conf = {
aliases: [],
cooldown: 5 // Integer = second.
};
43 changes: 43 additions & 0 deletions commands/nsfw/pussy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
const Discord = require("discord.js"),
commandName = __filename.slice(__dirname.length + 1, -3),
disbut = require("discord-buttons");

exports.run = async (client, message, args) => {
if (!message.channel.nsfw) return message.channel.send(client.config.msg.nsfwWarn)

let load = new Discord.MessageEmbed()
.setDescription(client.config.msg.loading)
.setTimestamp()

message.channel.send(load).then(m => {

client.superagent.get('https://nekobot.xyz/api/image').query({
type: commandName
}).end((err, response) => {

let button = new disbut.MessageButton()
.setStyle('url')
.setURL(response.body.message)
.setLabel(client.config.msg.imageNotLoading);

let embed = new Discord.MessageEmbed()
.setTimestamp()
.setImage(response.body.message)
.setFooter(client.config.footer)

m.edit(embed, button);
});
});
};

exports.help = {
name: commandName,
description: `Send a ${commandName} image.`,
usage: commandName,
example: commandName
};

exports.conf = {
aliases: [],
cooldown: 5 // Integer = second.
};
5 changes: 2 additions & 3 deletions commands/other/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ exports.run = async (client, message, args) => {
var help = new Discord.MessageEmbed()
.setAuthor('Help :')
.setDescription(`Prefix : ${client.config.prefix}\nList of commands :`)
.addField('NSFW :underage: :', '`4k`, `futa`, `gonewild`, `blowjob`, `hthigh`, `feet`, `hyuri`, `lewdneko`, `paizuri`, `thigh`, `anal`, `ass`, `hentai_anal`, `boobs`, `hanal`, `hass`, `hboobs`, `hentai`, `hkitsune`, `hmidriff`, `hneko`, `holo`, `kemonomimi`, `neko`, `pgif`, `pussy`, `yaoi`')
.addField('NSW :', '`food`, `coffee`')
.addField('Other :', '`help`, `gah`, `kanna`, `stats`')
.addField('NSFW :underage: :', '`4k`, `anal`, `ass`, `boobs`, `hanal`, `hass`, `hboobs`, `hentai`, `hkitsune`, `hmidriff`, `hneko`, `holo`, `kemonomimi`, `neko`, `pgif`, `pussy`, `yaoi`')
.addField('Other :', '`help`, `stats`')
.setTimestamp()

message.channel.send(help)
Expand Down
8 changes: 4 additions & 4 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"prefix": "|",
"token": "token",
"owners": ["640512148786642947"],
"prefix": "your prefix",
"token": "your token",
"owners": ["OWNER ID"],
"footer": "NSFW Bot • is.gd/nsfwbot",

"msg": {
"nsfwWarn": "You must use this command in an nsfw channel!",
"loading": "Please wait...",
"imageNotLoading": "Image not loading ? Click Here"
}
}
}

0 comments on commit d145f09

Please sign in to comment.