Option to use new buttons instead of reactions
See original GitHub issueHi, could you please add option to use Discord buttons instead of reactions?
Info: https://discord.com/developers/docs/interactions/message-components
or can be done using https://www.npmjs.com/package/discord-buttons :
const { MessageButton } = require('discord-buttons');
let button = new MessageButton()
.setLabel("Parcipate in this giveaway")
.setStyle("blurple")
.setEmoji("🎉") // giveaway reaction emoji
.setID("giveaway_id")
message.channel.send({
component: button,
embed: giveawayembed
});
Issue Analytics
- State:
- Created 2 years ago
- Reactions:8
- Comments:76 (37 by maintainers)
Top Results From Across the Web
React Button Examples
In this guide we're going to demonstrate various properties and types of Buttons you can render with React. For each example we will...
Read more >Setup Discord Button Roles (2022!) - YouTube
Since Discord introduced buttons to the platform, more and more users have started to use them. They are a replacement from the old...
Read more >Buttons - discord.js Guide
Buttons are one of the MessageComponent classes, which can be sent via messages or interaction responses. A button, as any other message ...
Read more >Facebook Reactions, the Totally Redesigned Like Button, Is ...
The feature isn't so much a new tool as it is an extension of an existing one; by long-pressing---or, on a computer, hovering---over...
Read more >Buttons - React-Bootstrap Documentation
Use any of the available button style types to quickly create a styled button. Just modify the variant prop. Primary Secondary Success Warning...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I guess, we can count number of participants in this way because a button interaction can be edited!
No thanks, I’m not doing your work. 😂