Suggestion: Canvas View
I would like to make a suggestion regarding message canvas.
It would be interesting to insert the following expression:
client.sendCanvas({....})
Basically, this prototype will insert a canvas inheriting
of a blob or link.
This Canvas would be developed particularly in html5 by a bot developer (like me)
I have some ideas and tests already done about it.
Example:
var ctx = Discord.canvas.getContext("2d")
ctx.beginPath();
ctx.arc(95,50,40,0,2*Math.PI);
ctx.stroke();
client.sendCanvas({
render: "blob:https://localhost:8080/7af889c8-9f77-4eac-9d6d-176c71cfdf40",
draw: ctx
})
Result:
3
-
You could do interactions if you implement html5
2
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar