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

feat(Presence): Allow bots to set custom status #1475

Merged
merged 11 commits into from
Jan 22, 2024

Conversation

conorwastakenwastaken
Copy link
Contributor

@conorwastakenwastaken conorwastakenwastaken commented Jan 17, 2024

Docs reference

WIP. Needs reviewing by a collab to tell me whether they prefer Eris handling it this way, or whether they want me to add an activities[].state prop that users specifically need to use to set custom statuses.

Changes

  • Added activities[].state prop to use when setting a custom status
  • Removed BotActivityType type from TSdocs, since it is now the same as ActivityType
  • Validate the type prop on all activity objects, rather than just the first one

lib/Client.js Outdated Show resolved Hide resolved
@bsian03 bsian03 mentioned this pull request Jan 22, 2024
32 tasks
@conorwastakenwastaken conorwastakenwastaken marked this pull request as ready for review January 22, 2024 21:47
lib/Client.js Outdated Show resolved Hide resolved
index.d.ts Outdated Show resolved Hide resolved
@bsian03 bsian03 merged commit 9b18e0e into abalabahaha:dev Jan 22, 2024
@conorwastakenwastaken conorwastakenwastaken deleted the custom-status branch January 22, 2024 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants