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

Handle group DMs (channels) #360

Merged
merged 1 commit into from
May 23, 2024
Merged

Handle group DMs (channels) #360

merged 1 commit into from
May 23, 2024

Conversation

sebm253
Copy link
Member

@sebm253 sebm253 commented May 21, 2024

since we're not handling them and Discord now allows for interactions to be called within group DMs, unmarshalling those interactions currently fails.

Example payload
{
   "version":1,
   "user":{
      "username":"redacted",
      "public_flags":4194560,
      "id":"",
      "global_name":"redacted",
      "discriminator":"0",
      "clan":null,
      "avatar_decoration_data":null,
      "avatar":"redacted"
   },
   "type":2,
   "token":"",
   "locale":"fr",
   "id":"",
   "entitlements":[
      
   ],
   "data":{
      "type":1,
      "name":"flag",
      "id":""
   },
   "context":2,
   "channel_id":"",
   "channel":{
      "type":3,
      "owner_id":"redacted",
      "name":"redacted",
      "last_pin_timestamp":"2024-05-20T22:06:59 00:00",
      "last_message_id":"",
      "id":"",
      "icon":"redacted",
      "flags":0
   },
   "authorizing_integration_owners":{
      "1":""
   },
   "application_id":"1007647563790417960",
   "app_permissions":"180224"
}

@sebm253 sebm253 merged commit b81270a into master May 23, 2024
6 checks passed
@sebm253 sebm253 deleted the feature/group-dms branch May 23, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants