Discord bot: Redeem Key and Reset HWID buttons for your customers
Your customers no longer need to remember slash commands. Run /pwf panel in a channel of your Discord server and the bot posts a message with three buttons:
- Redeem Key opens a window for the key, then claims it for the customer's Discord account and gives the buyer role when you set one, like
/redeem - Reset HWID lists the keys they claimed: they pick one and it is free for a new PC, by your app's rules, like
/resethwid. With no claimed key it opens the window instead - My keys shows their keys and the time left, like
/mykeys
Only the customer who pressed sees the answers, and wrong keys count toward the same pause as the commands
You write the panel: the title, the message and the name of each button, in your customers' language and with Discord markdown. Add color:#8B5CF6 for your own color, or leave My keys empty to hide that button. Run /pwf panel again in the same channel and the panel changes in place; in another channel it moves there. Unlinking the server removes it
The bot needs View Channel, Send Messages and Embed Links in that channel, and new invites ask for them. Without them the panel still shows up, as the answer to the command, but the bot can't edit it later