K
K
Kanashi2022-04-01 22:49:22
JavaScript
Kanashi, 2022-04-01 22:49:22

How to make a profile picture in a discord bot?

I want to make sure that when the user wrote something like " !profile " and the bot sent a photo with values ​​in different coordinates, there were different values. For example: In the first position there is a level, in the second position in the leaderboard
Or rather, I just need an example for inserting text on a picture

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2022-04-03
@Kanashi

for such purposes, the canvas module is used .
this article describes the use of this module, overlaying text on an image, integration with discord.
if necessary, use a translator.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question