15.4.6 • Published 4 years ago

discord-poll v15.4.6

Weekly downloads
34
License
ISC
Repository
-
Last release
4 years ago

INSTALLATION

npm i discord-poll

HELP

My discord server: Discord

ABOUT

This discord-poll is a powerful Poll embed creator with lots of different customization.

FEATURES

  • Custom embed colour
  • Custom embed title
  • Custom embed description
  • Custom embed footer
  • Custom embed image
  • Custom embed thumbnail
  • Custom prefix
  • Custom emoji reaction

IN-DISCORD COMMAND

Without timer : (note: if the timer is preset in the code then it will run the preset's timer) <prefix>poll

With timer: (note: the timer command overights the code preset's timer.) <prefix>poll <hour> <minute> <seconds> e.g. (!poll 0 5 30) this will be a pole for 5 minutes

CODE EXAMPLE

const Discord = require('discord.js')
const client = Discord.Client()
const { poll , pollSettings } = require('discord-poll')

pollSettings.prefix = '<Prefix for the poll command>' //optional
pollSettings.embedColour = '<Hex code>' //optional
pollSettings.embedTitle = '<Title for the embed>' //optional
pollSettings.embedDescription = '<Embeds description>' //required
pollSettings.embedFooter = '<Embed footer>' //optional
pollSettings.image = '<Embed image url>' //optional
pollSettings.firstEmoji = '<emoji>' //optional
pollSettings.secondEmoji = '<emoji>' //optional
pollSettings.embedThumbnail = '<URL>' //optional

poll(client, Discord)
15.4.6

4 years ago

15.4.5

4 years ago

15.4.4

4 years ago

15.4.3

4 years ago

15.4.2

4 years ago

15.4.1

4 years ago

12.0.0

4 years ago

10.0.0

4 years ago