Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pg3dmodule

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg3dmodule

Pixel Gun 3d Encyclopedia package

  • 1.5.5
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Pixel Gun Encyclopedia Module

Currently working on this module! Display information on Pixel Gun weapons, gadgets, pets, skins, gameplay and many more! Currently working on weapons.

npm version install size Discord

Note: this node module requires discord.js version 12 to run

Table of contents:

Installation

npm install pg3dmodule # local module usage

Usage

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!!

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

Menus

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.

const pg3dmodule = require("pg3dmodule")

message.channel.send(pg3dmodule.guns.gunmenu) ## Sends an embed with information about guns

Gun Information

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.

const pg3dmodule = require("pg3dmodule")

message.channel.send(pg3dmodule.guns.exterminator) ## Sends an embed with information about exterminator

Gadget Information

Similar to how it would go with gun information. Still no capital letters or short form.

const pg3dmodule = require("pg3dmodule")

message.channel.send(pg3dmodule.gadgets.ninjashurikens) ## Sends an embed with information about the gadget, ninja shurikens

Help

If you need help with this module or have troubling issues with this module, please feel free to join our official discord server.

Credible People

• Jeffplays2005 (me, the developer/maker of the module)

• 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 :))

License

Copyright MIT © 2020 Jeffplays2005

Keywords

FAQs

Package last updated on 18 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc