-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(Typersguild): add activity #10359
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
websites/T/Typersguild/presence.ts
Outdated
|
|
||
| const presenceData: PresenceData = { | ||
| type: ActivityType.Playing, | ||
| name: 'Typing on Typersguild', |
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.
The name field should just be the name of the activity. Actions like "typing on..." should be in the details field.
You can use the statusDisplayType field to change which string appears as the main one in Discord if you like
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.
Moved the "typing on" action to the state. And updated the screenshots
websites/T/Typersguild/presence.ts
Outdated
|
|
||
| break | ||
| } | ||
|
|
||
| case ContentType.Wiki: | ||
| presenceData.details = getBookName() | ||
| presenceData.state = 'Typing Wikipedia' | ||
|
|
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.
Maybe remove the line between the break statements for readability
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.
Sounds good, updated
Signed-off-by: Dathan <[email protected]>
Description
Created Typersguild Integration
Acknowledgements
npm run lintScreenshots