TOKEN = YOUR_BOT_TOKEN
APP_ID = APPLICATION_ID
Clone this repo and run first
npm install
then create the slash command with
node slash-command.js
start bot
node .
use slash command in discord chat
/generateqr text: YOUR_TEXT
optional:
* background: YOUR_HEX_BACKGROUND_COLOR
* color: YOUR_HEX_COLOR
* width: YOUR_WIDTH