suggy

Suggy package provides you built-in fun, games, and utility commands for your Discord.JS Project!

Usage no npm install needed!

<script type="module">
  import suggy from 'https://cdn.skypack.dev/suggy';
</script>

README

icon

Suggy

Suggy package provides you built-in fun, games, and utility commands for your Discord.JS Project!

Downloads Version License

NPM Package

Changelog (2.1.18 Latest)

  • Added Confirmation
  • Changed "paginator" to "pagination"
  • Changed "displayPageCount" option to "pageCount"
  • Added blockmsg option for trivia, wyr and pagination

📥 Installation

Latest

npm i suggy@latest / yarn add suggy

Beta

npm i suggy@beta

NOTE: Don't install dev versions. You might get too many errors on it.

👆 Usage

const suggy = require("suggy")

🔧 Examples

Trivia

suggy.trivia(interaction, {
  type: "BUTTON", Options: "BUTTON" and "SELECT_MENU"
  time: 30,
  blockmsg: '{user} can only use these buttons'
      })

Preview

Would You Rather

suggy.wyr(interaction, {
   emoji_a: "<:pixel_letter_a:888699662909997137>",
   emoji_b: "<:pixel_letter_b:888699633587601418>",
   time: 30,
   blockmsg: '{user} can only use these buttons'
 })

Preview

Rickroll (Plays in VC)

suggy.rickroll(interaction)

Pagination

suggy.pagination(interaction, {
    style: "PRIMARY",
    emoji_back: "↩",
    emoji_next: "↪",  
    time: 30,
    pageCount: true,
    blockmsg: '{user} can only use these buttons'
 })

Preview

Confirmation

suggy.confirmation(interaction, {
    embed: your_embed,
    blockmsg: '{user} can only use these buttons',
    yes: {
     label: "Confirm",
     emoji: "emoji_here" 
    },
    no: {
     label: "Cancel",
     emoji: "emoji_here"
    }
 }).then(confirm => {
    if(confirm === "yes") {
        message.reply("You chose yes")
    }
    if(confirm === "no") {
        message.reply("You chose no")
    }
    if(confirm === "time") {
        message.reply("Timeout")
    }
 })

Preview

📞 Contact

Discord: Sugger#1882