Androz2091 / discord-giveaways

🎉 Complete framework to facilitate the creation of giveaways using discord.js
https://discord-giveaways.js.org
MIT License
335 stars 127 forks source link

Bonus Roles in Embed #321

Closed typhoon11 closed 3 years ago

typhoon11 commented 3 years ago

Is your feature request related to a problem? Please describe.

No, I want the bonus roles and the bonus entries to be displayed in the generated embed.

Describe the solution you'd like

Add the Bonus roles and the bonus entry of that role in the field of the embed.

◽ @role1 : 5 entries
◽ @role2 : 2entries

Something like this ^^

Nico105 commented 3 years ago

you can just work with \n inside messages.hostedBy, or if you disabled that, messages.timeRemaining

or if you know how, just extend the generateMainEmbed function, add fields and save your data in giveaway.extraData

typhoon11 commented 3 years ago

Okay cool I will give it a try. Thank You