Skip to content

Commit

Permalink
Add burst/type fields in tests resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Doc94 committed May 19, 2024
1 parent adb9160 commit b15ea7e
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 2 deletions.
35 changes: 34 additions & 1 deletion src/test/resources/gateway/MessageReactionAdd.json
Original file line number Diff line number Diff line change
@@ -1 +1,34 @@
{"t":"MESSAGE_REACTION_ADD","s":27820,"op":0,"d":{"user_id":"123456789012345678","message_id":"679003565884440580","message_author_id":"0","member":{"user":{"username":"a","id":"123456789012345678","discriminator":"5520","avatar":"25a09a99ac0487bf846125084d9c7346"},"roles":["186563072540934144","186605392971694081"],"mute":false,"joined_at":"2016-05-28T02:57:17.190000+00:00","hoisted_role":null,"deaf":false},"emoji":{"name":"😊","id":null},"channel_id":"185949590652977152","guild_id":"123456789012345678"}}
{
"t": "MESSAGE_REACTION_ADD",
"s": 27820,
"op": 0,
"d": {
"user_id": "123456789012345678",
"message_id": "679003565884440580",
"message_author_id": "0",
"member": {
"user": {
"username": "a",
"id": "123456789012345678",
"discriminator": "5520",
"avatar": "25a09a99ac0487bf846125084d9c7346"
},
"roles": [
"186563072540934144",
"186605392971694081"
],
"mute": false,
"joined_at": "2016-05-28T02:57:17.190000+00:00",
"hoisted_role": null,
"deaf": false
},
"emoji": {
"name": "😊",
"id": null
},
"channel_id": "185949590652977152",
"guild_id": "123456789012345678",
"burst": false,
"type": 0
}
}
18 changes: 17 additions & 1 deletion src/test/resources/gateway/MessageReactionRemove.json
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
{"t":"MESSAGE_REACTION_REMOVE","s":28161,"op":0,"d":{"user_id":"123456789012345678","message_id":"679003565884440580","emoji":{"name":"🤔","id":null},"channel_id":"185949590652977152","guild_id":"123456789012345678"}}
{
"t": "MESSAGE_REACTION_REMOVE",
"s": 28161,
"op": 0,
"d": {
"user_id": "123456789012345678",
"message_id": "679003565884440580",
"emoji": {
"name": "🤔",
"id": null
},
"channel_id": "185949590652977152",
"guild_id": "123456789012345678",
"burst": false,
"type": 0
}
}

0 comments on commit b15ea7e

Please sign in to comment.