Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Pinned messages raise Unknown events #32

Open
shrx opened this issue Jul 8, 2016 · 1 comment
Open

Pinned messages raise Unknown events #32

shrx opened this issue Jul 8, 2016 · 1 comment

Comments

@shrx
Copy link

shrx commented Jul 8, 2016

When a message is pinned, an Unknown event is raised:

> Unknown event.
Unknown event.
Event. Type: CHANNEL_PINS_UPDATE, State: 554 Operation: 0 Direction: 0
Event. Type: CHANNEL_PINS_ACK, State: 552 Operation: 0 Direction: 0
{
        "last_pin_timestamp": "2016-07-08T05:53:11.073283+00:00",
        "channel_id": "CHANNELID"
}
{
        "timestamp": "2016-07-08T05:53:11.073283+00:00",
        "channel_id": "CHANNELID"
}
@bgiesing
Copy link

Same thing also happens for Emote Reactions

> Unknown event.
Event. Type: MESSAGE_REACTION_ADD, State: 222 Operation: 0 Direction: 0
{
	"user_id": "131231224013389824",
	"message_id": "281672668309094410",
	"emoji": {
		"name": "aMoosing",
		"id": "245650153598484491"
	},
	"channel_id": "243601948513665025"
}

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

No branches or pull requests

2 participants