We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I made simple http server with this awesome package so I coded some functions. it was working perfectly ❤️ but I have some problem at below code ⏬
public async setActivity(activity: ActivityBody) { await this.client.user?.setActivity({ details: `${activity.nickname} · ${activity.view}명 · 📺`, state: `💫 · ${activity.title}`, largeImageKey: `${activity.image}`, smallImageKey: "afreeca", smallImageText: "AfreecaTV", type: 3, buttons: [ { label: "test1", url: "https://www.afreecatv.com/", }, { label: "test2", url: "https://www.afreecatv.com/", }, ], }); }
ActivityBody is custom interface to transfer data from http request. Here is it 👇
ActivityBody
interface ActivityBody { title: string; nickname: string; view: number; image: string; }
when I trigger the #setActivity, my activity looks like this
Sorry for that the language is korean not english.. 😭 I sure that only buttons option is not work
buttons
I checked the return of #setActivity the result is below
#setActivity
it shows perfectly so I confused..
below is my environment)
The text was updated successfully, but these errors were encountered:
It was desktop client issue (on mac)
related issue: discordjs/RPC#180
the capture is from my android
Sorry, something went wrong.
No branches or pull requests
I made simple http server with this awesome package
so I coded some functions. it was working perfectly ❤️
but I have some problem at below code ⏬
ActivityBody
is custom interface to transfer data from http request. Here is it 👇when I trigger the #setActivity, my activity looks like this
Sorry for that the language is korean not english.. 😭
I sure that only
buttons
option is not workI checked the return of
#setActivity
the result is belowit shows perfectly so I confused..
below is my environment)
The text was updated successfully, but these errors were encountered: