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

Create presence.ts #9379

Closed
wants to merge 1 commit into from
Closed

Create presence.ts #9379

wants to merge 1 commit into from

Conversation

CendreOff
Copy link

Description

Acknowledgements

Screenshots

Proof showing the creation/modification is working as expected

Signed-off-by: Cendre <[email protected]>
@@ -0,0 +1,50 @@
import { Assets } from 'premid'

Check failure

Code scanning / ESLint

Disallow unused variables Error

'Assets' is defined but never used.
presenceData.details = 'Browsing Manga Scantrad'
}

if (!showCover) presenceData.largeImageKey = ActivityAssets.Logo

Check failure

Code scanning / ESLint

Newline after if Error

Expect newline after if
}

if (!showCover) presenceData.largeImageKey = ActivityAssets.Logo
if (!showButtons) delete presenceData.buttons

Check failure

Code scanning / ESLint

Newline after if Error

Expect newline after if
if (!showCover) presenceData.largeImageKey = ActivityAssets.Logo
if (!showButtons) delete presenceData.buttons

if (presenceData.details) presence.setActivity(presenceData)

Check failure

Code scanning / ESLint

Newline after if Error

Expect newline after if
@Timeraa Timeraa added the invalid Invalid issue or pull request label Mar 9, 2025
@Timeraa
Copy link
Member

Timeraa commented Mar 9, 2025

This is not how you create an activity, check the repository's readme.

@Timeraa Timeraa closed this Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Invalid issue or pull request
Development

Successfully merging this pull request may close these issues.

2 participants