Skip to content

Commit

Permalink
Bump to 2.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Sahil Gupte <[email protected]>
  • Loading branch information
Ovenoboyo committed Apr 10, 2022
1 parent a51b12f commit 4deb074
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discord.rich.presence",
"version": "1.1.1",
"version": "2.0.0",
"description": "",
"main": "src/index.ts",
"extensionEntry": "dist/index.js",
Expand Down
6 changes: 3 additions & 3 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ export class MyExtension implements MoosyncExtensionTemplate {
}

private registerListeners() {
api.on('seeked', this.onSeeked)
api.on('playerStateChanged', this.onPlayerStateChanged)
api.on('songChanged', this.onSongChanged)
api.on('seeked', this.onSeeked.bind(this))
api.on('playerStateChanged', this.onPlayerStateChanged.bind(this))
api.on('songChanged', this.onSongChanged.bind(this))
}
}

0 comments on commit 4deb074

Please sign in to comment.