discord-slider
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17659
5
40