Pixel Gun 3d Encyclopedia package
npm install pg3dmodule[![npm version][npm-image]][npm-url]
[![install size][install-size-image]][install-size-url]
[![Discord][discord-image]][discord-url]

Note: this node module requires discord.js version 12 to run
bash
npm install pg3dmodule # local module usage
`Usage
`javascript
const pg3dmodule = require('pg3dmodule')
`
Automatic Usage
This feature allows messages to be sent with an automatic return, e.g. your discord bot prefix is pg!, and you wanted an embed about exterminators, you would use pg!extermin, or any other shortform, this would allow this module to automatically search for the required MessageEmbed. You can replace the .gun after the .autoDetect with something else!!
`js
const pg3dmodule = require('pg3dmodule')const check = args.slice(0).join(' ');
if(!check){ return message.channel.send(pg3d.guns.gunmenu) }
const embedToSend = pg3d.autoDetect.gun(args.slice(0).join(' '));
message.channel.send(embedToSend)
`Manual Usage
$3
The menus function of this module allows you to send an embed with information about specific objects or items in game, shortly detailed with some information from the pg3d fandom.
`js
const pg3dmodule = require("pg3dmodule")message.channel.send(pg3dmodule.guns.gunmenu) ## Sends an embed with information about guns
`$3
You can change exterminator with another name, e.g.
None of the gun names are starting with capital letters, any gun name with a space would not have a capital on the second word, the Anti Champion Rifle becomes antichampionrifle, there wouldn't be any short forms or capital letters in the names.
`js
const pg3dmodule = require("pg3dmodule")message.channel.send(pg3dmodule.guns.exterminator) ## Sends an embed with information about exterminator
`$3
Similar to how it would go with gun information. Still no capital letters or short form.
`js
const pg3dmodule = require("pg3dmodule")message.channel.send(pg3dmodule.gadgets.ninjashurikens) ## Sends an embed with information about the gadget, ninja shurikens
``• People who wrote the fandom(where all the useful information comes from, special thanks to Just leafy, Luy, Notna and all the other people who contributed to https://pixelgun.fandom.com/)
• Pixel gun 3d developers(Most thanks to them as they put so much effort into developing the game :))
[npm-image]: https://flat.badgen.net/npm/v/pg3dmodule
[npm-url]: https://www.npmjs.com/package/pg3dmodule
[install-size-image]: https://flat.badgen.net/packagephobia/install/pg3dmodule
[install-size-url]: https://packagephobia.com/result?p=pg3dmodule
[discord-image]: https://img.shields.io/discord/726281880047058984?color=%237289DA&label=Discord&style=flat-square
[discord-url]: https://discord.gg/ZtejugY