【问题标题】:How to use local file as thumbnail in Discord JDA embedded message?如何在 Discord JDA 嵌入式消息中使用本地文件作为缩略图?
【发布时间】:2021-02-01 22:27:09
【问题描述】:

我想将嵌入的缩略图设置为我电脑上的本地图像。

这可能吗?

EmbedBuilder builder = new EmbedBuilder();
builder.setThumbnail("1.png"); //relative path

【问题讨论】:

    标签: java discord-jda


    【解决方案1】:

    您的问题类似于this question(您显然使用了 embed.setThumbnail 而不是使用 embed.setImage)

    【讨论】:

      猜你喜欢
      • 2018-03-25
      • 2020-12-30
      • 2021-06-25
      • 2021-03-17
      • 2019-04-21
      • 2017-10-28
      • 2021-07-26
      • 2020-05-11
      • 2021-08-02
      相关资源
      最近更新 更多