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

[idea] Discord "now playing" #1084

Open
Zbizu opened this issue May 1, 2020 · 2 comments
Open

[idea] Discord "now playing" #1084

Zbizu opened this issue May 1, 2020 · 2 comments
Assignees
Labels

Comments

@Zbizu
Copy link
Contributor

Zbizu commented May 1, 2020

We can use discord SDK to display our in-game status

how to:
https://discordapp.com/developers/docs/rich-presence/how-to

example use:
now playing

what we can display this way:

  • in game (otclient)
  • character name
  • server address
  • possibly display outfit (if discord allows that)

difficulty: should be fairly easy, everything needed to do is spoonfed on the website already

@marmichalski
Copy link
Contributor

AFAIK displaying the outfit is not possible. Discord lets you upload assets (300 images iirc) and you just tell the API which ones to display (large & small). I'll try to open a PR in a few days time, so you can have a look.

@Zbizu
Copy link
Contributor Author

Zbizu commented Feb 4, 2022

well, supporting opcode to set server image (eg set image number 2), primary text and secondary text would be huge too
you could display character name and the event the character is in

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

No branches or pull requests

3 participants