Ducumentation
A powerfull discord nsfw generator
Getting Started
Example:
const Discord = require('discord.js')
const client = new Discord.Client()
const dnsfw = require('discord-nsfw')
const prefix = '!'
const token = ''
client.on('message', async (message) => {
if(message.content.toLowerCase().startsWith(prefix + 'gif')) {
try
{
if(message.channel.nsfw) {
await message.channel.send(dnsfw.nsfw.gifs)
}
else
{
await message.channel.send('**This isn\'t a nsfw channel!**')
}
}
catch(Exception)
{
}
}
})
client.login(token)
Structure:
# discord-nsfw + type + name