-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat(beech): add activity #10184
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
base: main
Are you sure you want to change the base?
feat(beech): add activity #10184
Conversation
Signed-off-by: haruki-pixel <[email protected]>
Signed-off-by: haruki-pixel <[email protected]>
Signed-off-by: haruki-pixel <[email protected]>
Signed-off-by: haruki-pixel <[email protected]>
Signed-off-by: haruki-pixel <[email protected]>
Signed-off-by: haruki-pixel <[email protected]>
Signed-off-by: haruki-pixel <[email protected]>
Signed-off-by: haruki-pixel <[email protected]>
Signed-off-by: haruki-pixel <[email protected]>
Signed-off-by: haruki-pixel <[email protected]>
Signed-off-by: haruki-pixel <[email protected]>
Signed-off-by: haruki-pixel <[email protected]>
| @@ -0,0 +1,22 @@ | |||
| import Presence from '../../presence'; | |||
Check failure
Code scanning / ESLint
Require or disallow semicolons instead of ASI Error
| clientId: '1444556736647397476' | ||
| }); |
Check failure
Code scanning / ESLint
Require or disallow trailing commas Error
|
|
||
| const presence = new Presence({ | ||
| clientId: '1444556736647397476' | ||
| }); |
Check failure
Code scanning / ESLint
Require or disallow semicolons instead of ASI Error
| }); | ||
|
|
||
| presence.on('UpdateData', async () => { | ||
| const videoTitle = |
Check failure
Code scanning / ESLint
Enforce consistent linebreak style for operators Error
|
|
||
| presence.on('UpdateData', async () => { | ||
| const videoTitle = | ||
| document.querySelector('.video-title')?.textContent || null; |
Check failure
Code scanning / ESLint
Require or disallow semicolons instead of ASI Error
| document.querySelector('.video-title')?.textContent || null; | ||
|
|
||
| const paused = | ||
| document.querySelector('.play-button.paused') !== null; |
Check failure
Code scanning / ESLint
Require or disallow semicolons instead of ASI Error
|
|
||
| presence.setActivity({ | ||
| details: | ||
| videoTitle || |
Check failure
Code scanning / ESLint
Enforce consistent linebreak style for operators Error
| instance: false | ||
| }); |
Check failure
Code scanning / ESLint
Require or disallow trailing commas Error
| state: paused ? 'Paused' : 'BEECH.WATCH', | ||
| largeImageKey: 'beech', | ||
| instance: false | ||
| }); |
Check failure
Code scanning / ESLint
Require or disallow semicolons instead of ASI Error
| largeImageKey: 'beech', | ||
| instance: false | ||
| }); | ||
| }); |
Check failure
Code scanning / ESLint
Require or disallow semicolons instead of ASI Error
| { | ||
| "author": "sunraki", | ||
| "service": "BEECH", | ||
| "description": "Explore a vast collection of movies and TV shows across all genres.", | ||
| "url": "https://www.beech.watch", | ||
| "version": "1.0.0", | ||
| "logo": "beech", | ||
| "color": "#FF8800", | ||
| "category": "videos" | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This metadata is invalid. Please look at the documentation for how this should be formatted
Explore a vast collection of movies and TV shows across all genres.