Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bots can now set activity state #6345

Merged
merged 3 commits into from
Aug 10, 2023

Conversation

advaith1
Copy link
Member

@advaith1 advaith1 commented Aug 9, 2023

turns out if you meme about something enough it actually can come true

image

image

@seailz
Copy link
Contributor

seailz commented Aug 9, 2023

dammit finally

@MinnDevelopment
Copy link
Contributor

Can they also use emoji? Are there limitations to that?

@RedDaedalus
Copy link
Contributor

Can they also use emoji? Are there limitations to that?

emoji is not supported atm (https://canary.discord.com/channels/81384788765712384/381887113391505410/1138678286646509659)

@MinnDevelopment
Copy link
Contributor

Are there any plans to support emoji?

@advaith1
Copy link
Member Author

advaith1 commented Aug 9, 2023

I don't think so :(

@Andre601
Copy link
Contributor

Andre601 commented Aug 9, 2023

I don't think so :(

It's time to get the memes back out again...

@davfsa
Copy link
Contributor

davfsa commented Aug 9, 2023

This also needs updating:

| 4 | Custom | {emoji} {name} | ":smiley: I am cool" |

The current method seems incorrect, as the client seems to set name to "Custom Status" and and then use state for the message

@advaith1
Copy link
Member Author

advaith1 commented Aug 9, 2023

oh has that been wrong the whole time

streaming also shows name not details right? or does it use details and fall back to nane

@davfsa
Copy link
Contributor

davfsa commented Aug 9, 2023

Streaming uses Streaming <name> and state is used to provide more information when opening up the full user (above with the Watch button). I didnt notice it is wrong too until now.

Another interesting behaviour I found is that it will fallback to Playing <name> if type is STREAMING (1) but no url is set.

@nicolaeser
Copy link

Uhm Custom Status doesnt currently work for me

Copy link

@drillskibo drillskibo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally we get what we wanted all along 🎉

tazz4843 added a commit to tazz4843/serenity that referenced this pull request Aug 9, 2023
arqunis pushed a commit to serenity-rs/serenity that referenced this pull request Aug 9, 2023
@MinnDevelopment
Copy link
Contributor

Should probably also mention that you have to set a non-empty name in addition to state, since the status won't show up otherwise.

@Lulalaby
Copy link
Contributor

Lulalaby commented Aug 9, 2023

name should be set to Custom Status if we follow the client behavior

Copy link
Contributor

@shaydewael shaydewael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small changes to the change log, but otherwise looks good. thanks (as always) 😄

docs/Change_Log.md Outdated Show resolved Hide resolved
docs/topics/Gateway_Events.md Outdated Show resolved Hide resolved
Co-authored-by: shay <swdewael@gmail.com>
@shaydewael shaydewael merged commit c3935ae into discord:main Aug 10, 2023
2 checks passed
DonovanDMC added a commit to OceanicJS/Oceanic that referenced this pull request Aug 11, 2023
@advaith1 advaith1 deleted the custom-status-for-bots branch August 12, 2023 00:01
lukellmann added a commit to kordlib/kord that referenced this pull request Aug 23, 2023
See discord/discord-api-docs#6345

---------

Co-authored-by: lukellmann <lukellmann@gmail.com>
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Sep 21, 2023
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Oct 17, 2023
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Oct 24, 2023
arqunis pushed a commit to arqunis/serenity that referenced this pull request Oct 24, 2023
arqunis pushed a commit to arqunis/serenity that referenced this pull request Oct 24, 2023
@bsian03 bsian03 mentioned this pull request Jan 17, 2024
21 tasks
shaydewael added a commit to Jupith/discord-api-docs that referenced this pull request May 14, 2024
* Bots can now set activity state

* fix custom status format

* wording changes

Co-authored-by: shay <swdewael@gmail.com>

---------

Co-authored-by: shay <swdewael@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants