-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
282 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ⭐! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} |