A Discord bot that generates preferred color QR codes for text and URLs.
The bot was built using the discord.js library while the qrcode npm package was used to generate the qr code.
Discord User:
- Have an active discord account
- Join this discord server to use the bot.
- Click here for usage instructions
Discord Server:
- Have an active discord account
- Be the owner of a discord server or have a "Manage Server" permission on a server.
To add the bot to a server follow this steps:
- Follow this link
- You should see something like this:
- Choose the server you want to add it to and click "Authorize"
- This should then present you a nice confirmation message:
- Congratulations! You've successfully added QR-BOT to your Discord server. It should show up in your server's member list somewhat like this:
The bot responds to the following commands:
/generate input[<text>]
: Generates a QR code for the specified text/URL.
Example:
/generate input[Hello world]
: Generates a QR code for the text hello world.
/generate input[github.com]
: Generates a QR code for github.com URL.
/generate input[<text>] background-color[<color>] foreground-color[<color>]
: Generates a QR code for the specified text/URL with the option to specify a background/foreground color. The color can be one of the following:
- White
- Black
- Red
- Green
- Yellow
- Blue
Example:
/generate input[github.com] background-color[Red] foreground-color[Green]
If you would like to contribute to this project, feel free to open an issue or submit a pull request.
- This bot was built using the discord.js library.
- QR code generation is powered by the qrcode npm package.
- The bot is hosted on Railway