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

Granblue Fantasy Update #2449

Merged
merged 5 commits into from
Nov 11, 2020
Merged

Granblue Fantasy Update #2449

merged 5 commits into from
Nov 11, 2020

Conversation

Morrays
Copy link
Contributor

@Morrays Morrays commented Nov 9, 2020

Added support for showing boss name.
And changed the name of the presence to be more easly findable.

Discord_XAWpy3OKLk

@Morrays Morrays closed this Nov 9, 2020
@Morrays Morrays reopened this Nov 9, 2020
@@ -8,7 +8,8 @@ presence.on("UpdateData", async () => {
const data: PresenceData = {
largeImageKey: "logo"
};


var boss;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete this

@@ -33,7 +34,8 @@ presence.on("UpdateData", async () => {
document.location.href.includes("/#raid") ||
document.location.href.includes("/#raid_multi")
) {
data.details = "In a battle";
boss = document.getElementsByClassName("name")[0].innerHTML;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const boss

changed to const
@mergify mergify bot merged commit 9ae7835 into PreMiD:master Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants