Skip to content

FULL SLASH SUPPORT! FULL CUSTOMIZABILITY!

Latest
Compare
Choose a tag to compare
@Assassin-1234 Assassin-1234 released this 28 Sep 11:52
· 150 commits to main since this release
63f8767

Nuggies now supports slash commands! both in v12 and v13!

changes

giveaways!

- Nuggies.giveaways.create({ message, prize, hostID, winners, endAfter, requirements: { enabled: false }, channelID })
+ Nuggies.giveaways.create(client, { prize, hostID, winners, endAfter, requirements: { enabled: false }, channel })

- Nuggies.giveaways.drop({ message, prize, channelID, hostID })
+ Nuggies.giveaways.drop(client, { prize, channel, hostID })

dropdown roles!

- Nuggies.dropdownroles.create({ message, role, content, channelID })
+ Nuggies.dropdownroles.create(client, { content, role, channelID })

button roles!

- Nuggies.buttonroles.create({ message, role, content, channelID })
+ Nuggies.buttonroles.create(client, { content, role, channelID })

Customizability!

- Nuggies.giveaways.Messages(client, {});
+ Nuggies.Messages(client, {
+ giveawayOptions: {
+	dmWinner: true,
+	giveaway: '🎉🎉 **GIVEAWAY MOMENT** 🎉🎉',
+	giveawayDescription: '🎁 Prize: **{prize}**\n🎊 Hosted by: {hostedBy}\n⏲️ Winner(s): `{winners}`\n\nRequirements: {requirements}',
+	endedGiveawayDescription: '🎁 Prize: **{prize}**\n🎊 Hosted by: {hostedBy}\n⏲️ Winner(s): {winners}',
+	giveawayFooterImage: 'https://cdn.discordapp.com/emojis/843076397345144863.png',
+	winMessage: '{winners} you won {prize} Congratulations! Hosted by {hostedBy}',
+	rerolledMessage: 'Rerolled! {winner} is the new winner of the giveaway!', // only {winner} placeholder
+	toParticipate: '**Click the Enter button to enter the giveaway!**',
+	newParticipant: 'You have successfully entered for this giveaway', // no placeholders | ephemeral
+	alreadyParticipated: 'you already entered this giveaway!', // no placeholders | ephemeral
+	noParticipants: 'There are not enough people in the giveaway!', // no placeholders
+	noRole: 'You do not have the required role(s)\n{requiredRoles}\n for the giveaway!', // only {requiredRoles} | ephemeral
+	dmMessage: 'You have won a giveaway in **{guildName}**!\nPrize: [{prize}]({giveawayURL})',
+	noWinner: 'Not enough people participated in this giveaway.', // no {winner} placerholder
+	alreadyEnded: 'The giveaway has already ended!', // no {winner} placeholder
+	dropWin: '{winner} Won The Drop!!', // only {winner} placeholder
+ },
+ buttonRolesOptions: { // {role} placeholder only
+ 	addMessage: 'I have added the {role} role to you!',
+ 	removeMessage: 'I have removed the {role} role from you!',
+ }
+ dropdownRolesOptions: { // {role} placeholder only
+ 	addMessage: 'I have added the {role} role to you!',
+ 	removeMessage: 'I have removed the {role} role from you!',
+ }
+ })

Examples

slash giveaways
slash button roles
slash dropdown roles
slash applications