-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(Bl4cklist.de): add activity #10290
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
base: main
Are you sure you want to change the base?
Conversation
# Conflicts: # websites/C/Clank (Discord-Bot)/metadata.json # websites/C/Clank (Discord-Bot)/presence.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using the built-in localization system
|
|
||
| if (presenceData.state) | ||
| presence.setActivity(presenceData) | ||
| else presence.setActivity() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use clearActivity to display no activity. This will still display an activity with no information
| "url": "bl4cklist.de", | ||
| "version": "1.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a regExp field with a value like like ^https?://bl4cklist[.]de/
Description
Added my own website "bl4cklist.de" with german and english translations (based on browser language) as presence.
Acknowledgements
npm run lintScreenshots
Proof showing the creation/modification is working as expected