Minor change (description)

- feat(ApplicationCommand): add `min_length` and `max_length` for string option (v13) #8217 (Djs v13.9)
- fix(Interaction): Button.click & Menu.select return Snowflake
- feat(MessagePayload): Send Activity message
This commit is contained in:
March 7th
2022-07-07 16:10:51 +07:00
parent 578bc0adde
commit 010272fba7
12 changed files with 90 additions and 23 deletions

View File

@@ -443,7 +443,7 @@ class SpotifyRPC extends RichPresence {
* The game's or Spotify session's id
* @type {?string}
*/
this.session_id = this.client.ws.shards.first().sessionId;
this.session_id = this.client.session_id;
this.secrets = {
join: crypto.randomBytes(20).toString('hex'), // SHA1 / SHA128