v1.2.0 [DROPDOWN ROLES!]
dropdown roles
constructor. use .setrole() on it to create dropdown options
const something = new Nuggies.dropdownroles().addrole({
label: 'test',
role: 'roleID',
emoji: 'emojiID'
});
options
label: dropdown option label
role: role that would be added on click
emoji: ID of the emoji on the dropdown option, optional.
create
creates the dropdown roles
Nuggies.dropdown.create({
message: message,
role: role, /*dropdownroles constructor*/
content: new Discord.MessageEmbed().setTitle('xd').setDescription('xdxd') });
Other changes
- moved
Nuggies.giveaways.connect
toNuggies.connect
- moved
Nuggies.giveaways.buttonclick
andNuggies.buttonroles.buttonclick
toNuggies.buttonclick
- new function
Nuggies.dropclick
, handles dropMenu interactions