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

Add invisible StatusData #201

Merged
merged 1 commit into from Feb 28, 2024
Merged

Add invisible StatusData #201

merged 1 commit into from Feb 28, 2024

Conversation

DylanDelobel
Copy link
Contributor

Description

Add invisible to StatusData following Discord API

Motivation and Context

#200

Screenshots (if appropriate):

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link

netlify bot commented Feb 27, 2024

Deploy Preview for canvacord ready!

Name Link
🔨 Latest commit ca04bb3
🔍 Latest deploy log https://app.netlify.com/sites/canvacord/deploys/65de6dd5eee6b600089d9185
😎 Deploy Preview https://deploy-preview-201--canvacord.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@twlite twlite merged commit 70ce3c2 into neplextech:main Feb 28, 2024
4 checks passed
@3vil3vo
Copy link

3vil3vo commented Mar 9, 2024

src/components/rank-card/NeoClassicalCard.tsx(147,24): error TS7053: Element implicitly has an 'any' type because expression of type '"online" | "idle" | "dnd" | "offline" | "streaming" | "invisible" | RankCardUserStatus.Online | RankCardUserStatus.Idle | RankCardUserStatus.DoNotDisturb | RankCardUserStatus.Offline | RankCardUserStatus.Streaming | RankCardUserStatus.Invisible' can't be used to index type '{ online: string; idle: string; dnd: string; offline: string; streaming: string; }'.
Property 'invisible' does not exist on type '{ online: string; idle: string; dnd: string; offline: string; streaming: string; }'.

you need to update Colors inside of the NeoClassicalCard:

const Colors = {
online: "#43b581",
idle: "#faa61a",
dnd: "#f04747",
offline: "#747f8d",
streaming: "#593695",
invisible: "#747f8d",
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants