question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Option to use new buttons instead of reactions

See original GitHub issue

Hi, 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:open
  • Created 2 years ago
  • Reactions:8
  • Comments:76 (37 by maintainers)

github_iconTop GitHub Comments

6reactions
Positive2022commented, Nov 2, 2021

I guess, we can count number of participants in this way because a button interaction can be edited! image

5reactions
eric48906commented, Aug 25, 2022

Collaborator

No thanks, I’m not doing your work. 😂

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found