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

Support for custom status #2204

Closed
Dorukyum opened this issue Aug 9, 2023 · 1 comment · Fixed by #2206
Closed

Support for custom status #2204

Dorukyum opened this issue Aug 9, 2023 · 1 comment · Fixed by #2206
Assignees
Labels
API Reflection Discords API wasn't correctly reflected in the lib feature request New feature request good first issue Good for newcomers priority: medium Medium Priority status: todo This issue needs work
Milestone

Comments

@Dorukyum
Copy link
Member

Dorukyum commented Aug 9, 2023

Summary

discord/discord-api-docs#6345

What is the feature request for?

The core library

The Problem

API change

The Ideal Solution

Reflect the API

The Current Solution

No response

Additional Context

No response

@Dorukyum Dorukyum added this to the v2.5 milestone Aug 9, 2023
@Dorukyum Dorukyum self-assigned this Aug 9, 2023
@Dorukyum Dorukyum changed the title Custom status Support for custom status Aug 9, 2023
@Lulalaby
Copy link
Member

Lulalaby commented Aug 9, 2023

It's important that custom status support is added somewhat like that:

	public DiscordActivity(string name, ActivityType type)
	{
		if (type == ActivityType.Custom)
		{
			this.Id = "custom";
			this.Name = "Custom Status";
			this.State = name;
		}
		else
			this.Name = name;

		this.ActivityType = type;
	}

@JustaSqu1d JustaSqu1d added feature request New feature request good first issue Good for newcomers priority: medium Medium Priority status: todo This issue needs work API Reflection Discords API wasn't correctly reflected in the lib labels Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Reflection Discords API wasn't correctly reflected in the lib feature request New feature request good first issue Good for newcomers priority: medium Medium Priority status: todo This issue needs work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants