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

discord-slider

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-slider - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

logo.svg

2

package.json
{
"name": "discord-slider",
"version": "1.1.0",
"version": "1.1.1",
"description": "Allow you to easily create beautiful page slider for your discord.js bot",

@@ -5,0 +5,0 @@ "main": "index.js",

<div align="center">
<p>
<a href="https://www.npmjs.com/package/discord-slider"><img src="https://img.shields.io/npm/v/discord-slider?maxAge=3600" alt="NPM version" /></a>
<a href="https://www.npmjs.com/package/discord-slider"><img src="https://img.shields.io/npm/dt/discord-slider?maxAge=3600" alt="NPM downloads" /></a>
<img src="logo.svg" alt="discord-slider" />
<a href="url"><img src="https://s3.gifyu.com/images/ezgif-4-2cbac007a4ac.gif"style="border-radius: 10px 10px 10px 10px;" alt="Gif example"></a>
</p>
<p>
<a href="https://www.npmjs.com/package/discord-slider"><img src="https://nodei.co/npm/discord-slider.png?downloads=true&stars=true" alt="NPM Banner"></a>
</p>
<p>
<a><img src="https://s3.gifyu.com/images/ezgif-4-2cbac007a4ac.gif" alt="Example"></a>
</p>
<br> <br>
</div>
discord-slider is a package that allow you to easily create multipage help commands (for example) with buttons.

@@ -39,4 +28,7 @@

```js
channel.createSlider(userID, [embed0, embed1, embed2, embed3]) // the order of the embeds in the array will be the order of the pages. userID is needed to restrict buttons usage to the user who requested the command.
channel.createSlider(userID, [embed0, embed1, embed2, embed3])
```
- The order of the embeds in the array will be the order of the pages.
- userID is needed to restrict buttons usage to the user who requested the command.
> After 5 minutes, the buttons will become disabled.

@@ -43,0 +35,0 @@

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