Socket
Socket
Sign inDemoInstall

sanikava-djs

Package Overview
Dependencies
340
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sanikava-djs

Just a module for everything but only for new discord version


Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

sanikava-djs:

sanikava-djs is a module made for discordjs coders, to make their work easier.

The Module has several functions which you can use to easily create: Button Role, Menu Role, Webhooks, Button Calculator, Ghost Ping & many other commands.

Installation:

To Install it on windows/linux or any other pc. You can run:

npm install sanikava-djs@latest

To Install it on Android Device(Termux App)

npm install sanikava-djs@android

Available Commands:

Tip: Click on commands to see their example usage!

Note: Many Example was removed for update soon we will add all examples so be patience



Games:

  • Tic Tac Toe
  • Rock Paper Scissors

Buttons:

Pagination:

Coming Soon!

System:

Examples

Button Role

Add Event to InteractionCreate btnclick

 client.on('interactionCreate', async interaction => {
    sdjs.btnclick(interaction)
});

Make Menu

sdjs.btnrole(client, message, {
  embed: embed,
  data: [
    {
      role: "role-id", 
      color: "color", // default: SECONDARY
      label: "name", // default: *Role Name*
      emoji: "emoji id" //optional
    } // etc..
  ]
});

Menu Role

Add Event to InteractionCreate menuclick

 client.on('interactionCreate', async interaction => {
    sdjs.menuclick(interaction)
});

Make Menu

sdjs.mr(client,message,{
placeHolder:"Text Before selecting",//default: "Take a role here"
  
  embed:"send embed" , //optional
  text: "message above menu"//default: "Select a Role"
 data: [
  label: "name", //default: "Role Name"
  desc:"description",
  val:"role id", 
  emoji: "emoji", //optinal
  ]
  })

FAQs

Last updated on 07 Feb 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc