How do you send a base64 image to Discord WebHook?

前端 未结 0 1357
一整个雨季
一整个雨季 2021-02-06 05:18

I have tried the following code:

const Hook = new Discord.WebhookClient(DiscordWebHookID, DiscordWebHookToken);

const image = \'data:image/PNG;base64,R0lGODlhPQB         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题