RickvanLoo / discord-cli

Minimalistic Command-Line Interface for Discord
GNU General Public License v2.0
203 stars 32 forks source link

Pinned messages raise Unknown events #32

Open shrx opened 8 years ago

shrx commented 8 years ago

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 commented 7 years ago

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"
}