Skip to content

Commit c68b8a4

Browse files
authored
Update src/main/discord.ts
1 parent 01cf81e commit c68b8a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/discord.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default class Discord {
4545

4646
setDiscordRPC () {
4747
if (this.discord.user) {
48-
const mediaUrl = 'https://anilist.co/anime/' + this.mediaId
48+
const mediaUrl = this.allowDiscordDetails ? 'https://anilist.co/anime/' + this.mediaId : 'https://hayase.watch'
4949
const mediaTitle = this.allowDiscordDetails ? this.session?.title ?? 'Anime' : 'Anime'
5050
const position = (this.position?.position ?? 0) * 1000
5151
const duration = (this.position?.duration ?? 0) * 1000

0 commit comments

Comments
 (0)