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

Switch to custom activity state once discord.js makes that available #353

Closed
kevinlul opened this issue Aug 10, 2023 · 4 comments
Closed

Comments

@kevinlul
Copy link
Contributor

Discord has updated its API to allow bots to set custom activities: https://discord.com/developers/docs/change-log#activity-state-for-bot-users

No longer will the message be Playing <card name> to search!, but perhaps 🔎 Type <card name> to search!

discord.js needs to update ClientPresence._patch to forward these previously-unsupported arguments.

@kevinlul
Copy link
Contributor Author

See discordjs/discord.js#9743

@kevinlul
Copy link
Contributor Author

Note: the prototype monkey patch is very effective

Screenshot

@kevinlul
Copy link
Contributor Author

Seems to be included in 14.13.0

@kevinlul
Copy link
Contributor Author

image

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

No branches or pull requests

1 participant