A discord bot that turns your message to a QR code using Nodejs and Google charts QR Code.
qr [--width <width>] [--height <height>] [--color <color>] [<data>]
Clone the repository to your local machien:
git clone https://github.com/SorenaPaydar/QR-Code-Generator-Discord-Bot.git
Install the dependencies:
npm install
Create a file called .env
in the root directory of the project and fill in the information shown below:
CLIENT_TOKEN=<YOUR CLIENT TOKEN>
Create Discord bot here and replace your bot's token with
<YOUR CLIENT TOKEN>
.
You can now start the server using following command:
npm run start
It will create a folder called
dist
in the root folder of the project that contains the minimized version of the source code.