最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - Set custom Status for a Discord Bot Using JDA - Stack Overflow

programmeradmin0浏览0评论

I'm developing a Discord bot using the Java Discord API (JDA) and would like to set a custom status message that appears below the bot's profile picture, similar to the "What you're thinking" status that regular users can set.

I am aware that it's possible to set activities like "Playing", "Listening to", etc., using the setActivity method:

jda.getPresence().setActivity(Activity.playing("Playing something"));

However, I haven't found a way to set a custom status message without the "Playing", "Listening to", or other prefixes.

Is there a way to set a custom status for a bot using JDA? If so, how can it be implemented? as I've looked at this in other bots, and never figured out how.

Note: I have reviewed the JDA documentation and existing discussions but haven't found a clear solution to this specific requirement.

发布评论

评论列表(0)

  1. 暂无评论