@@ -2,10 +2,13 @@
|
||||
"id": "youtube",
|
||||
"name": "YouTube",
|
||||
"description": "Shows the video you're watching on YouTube as a Source rich presence.",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"author": "hibna",
|
||||
"match": [
|
||||
"https://www.youtube.com/*",
|
||||
"https://youtube.com/*",
|
||||
"https://m.youtube.com/*",
|
||||
"https://youtu.be/*",
|
||||
"https://music.youtube.com/*"
|
||||
],
|
||||
"tickInterval": 1000,
|
||||
|
||||
@@ -22,7 +22,13 @@ function readChannel(): string | null {
|
||||
}
|
||||
|
||||
export default definePresence({
|
||||
match: ["https://www.youtube.com/*", "https://music.youtube.com/*"],
|
||||
match: [
|
||||
"https://www.youtube.com/*",
|
||||
"https://youtube.com/*",
|
||||
"https://m.youtube.com/*",
|
||||
"https://youtu.be/*",
|
||||
"https://music.youtube.com/*",
|
||||
],
|
||||
tickInterval: 1000,
|
||||
tick(ctx) {
|
||||
const video = findVideo();
|
||||
|
||||
Reference in New Issue
Block a user