A Discord.js bot that makes quote graphics from Discord messages.
A user can create a quote by reacting to any message with the 📝 (pencil) emoji or by using /quote with information.
Shadowlight
Whoops! Looks like they don't have a project yet. Maybe ask them to start one?
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
I added 3 backgrounds to the quotes, selected randomly.
I also created a /quote command for manual quotes. You can add a Discord name and choose from 3 date options: Today (current date), This month (current month and year) or This year (the current year).
The quote now moves to multiple lines and changes the font size to fit everything. Previously, the text and author would be on one line, causing some text would not be visible.
The graphics are better but not final. I added the quote author's display name and the date it was written to the bottom.
The month is in 0-11 but my code changes it to January to December.
I added @napi-rs/canvas (fast, built in Rust) to create the graphics.
The graphics are created with the code, stored temporarily in buffer and sent to the channel where the original (quoted) message was sent.
This code is only the start and will be improved in future devlogs to include the quoted message's author and profile picture.
It's starting to work! If you react to a message with the pencil (📝) emoji, the bot will repeat the message text. The message content is stored as a variable, which I plan to use for the graphics.