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

Add option to disable the discord rpc idle text #448

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

autumn-puffin
Copy link
Contributor

Added an option to disable the discord idle status

Copy link

sonarcloud bot commented Jul 30, 2024

@Mastermindzh Mastermindzh changed the base branch from master to develop August 5, 2024 06:38
Copy link
Owner

@Mastermindzh Mastermindzh left a comment

Choose a reason for hiding this comment

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

Thanks, looks good, will merge later 😄

const showIdle = settingsStore.get<string, boolean>(settings.discord.showIdle) ?? true;
if (mediaInfo.status === MediaStatus.paused && !showIdle) {
rpc.clearActivity();
} else
Copy link
Owner

Choose a reason for hiding this comment

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

I'll be adding brackets back to this later 😄

@Mastermindzh Mastermindzh merged commit e2a84e1 into Mastermindzh:develop Aug 5, 2024
5 checks passed
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.

2 participants