Discord bot: QR code generator

user profile photouser profile photouser profile photo882 developers have joined this project.

What you will practice

You will practice making a Discord Bot that can receive command arguments. The bot will convert the given argument into a QR code using a third-party API, and send the QR code back to the user. The project should take around 4 hours to complete.

Introduction

QR codes have become ubiquitous in many countries in the last few years. With the help of bots, QR codes can be generated easily. Through this project, you'll learn how to use Discord bots to turn command arguments into outputs like QR code, without having to look for a QR code generation website.

Requirements

The user will send a command in Discord chat with an argument. The argument, converted into the QR code, will later be sent back to the user.

For an extra challenge:

  • Add a slash command that triggers the bot to generate a QR code
  • Allow the user to change the color and/or size of the QR code

Suggested Implementation

  • This project can be completed using TypeScript for better handling
  • You can use Google's free API to generate the QR codes

Hit a programming wall?
Get help from our mentors

  • Post request free
  • First 15 mins free

Suggested languages and frameworks

Node.jsDiscord.js

Difficulty

easy

Contributed by

Back-end developer

Interested in this project?

Shorten your learning curve with on-demand programming help

The awesome set of verified mentors will provide guidance and mentoring help when you are stuck.

Suresh Atta

  • Post request free
  • First 15 mins free
Shorten your learning curve with on-demand programming help

Browse more projects

More coming soon...