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

Map Discord events to API events #2

Open
18 of 29 tasks
Kiskae opened this issue Mar 3, 2016 · 1 comment
Open
18 of 29 tasks

Map Discord events to API events #2

Kiskae opened this issue Mar 3, 2016 · 1 comment

Comments

@Kiskae
Copy link
Owner

Kiskae commented Mar 3, 2016

All of the events that are being sent by Discord:

  • CHANNEL_CREATE => ChannelCreateEvent.* for Public and Private channels
  • CHANNEL_UPDATE => ChannelUpdateEvent
  • CHANNEL_DELETE => ChannelDeleteEvent.* for Public and Private channels
  • MESSAGE_CREATE => MessageCreateEvent
  • MESSAGE_UPDATE => MessageEditEvent and MessageEmbedEvent since Discord sends an 'update' when it finishes parsing for embeds
  • MESSAGE_DELETE => MessageDeleteEvent
  • MESSAGE_ACK Not sure if applicable to the client, mostly for gui clients.
  • GUILD_CREATE => GuildCreateEvent
  • GUILD_UPDATE => GuildUpdateEvent
  • GUILD_DELETE => GuildDeleteEvent
  • GUILD_MEMBER_ADD => MemberJoinedEvent
  • GUILD_MEMBER_UPDATE => MemberUpdateEvent
  • GUILD_MEMBER_REMOVE => MemberLeftEvent
  • GUILD_BAN_ADD => BanCreateEvent
  • GUILD_BAN_REMOVE => BanRemoveEvent
  • GUILD_ROLE_CREATE => RoleCreateEvent
  • GUILD_ROLE_UPDATE => RoleUpdateEvent
  • GUILD_ROLE_DELETE => RoleDeleteEvent
  • USER_UPDATE Sent whenever the user changes their account properties
  • READY Initial event to set up the model, potentially could be mapped to an event that signals that the model is ready.
  • TYPING_START Indicates someone started typing, not sure about a use-case
  • PRESENCE_UPDATE Sent whenever the idle state or game played changes, very VERY spammy.
  • GUILD_EMOJIS_UPDATE Sent whenever discord updates the automatically updated emoji's
  • GUILD_INTEGRATIONS_UPDATE Sent when discord completes the integrations update
  • VOICE_STATE_UPDATE Sent whenever the voice state (deaf/mute) changes
  • RESUMED Not yet encountered and there is very little documentation
  • GUILD_MEMBERS_CHUNK Not yet encountered and there is very little documentation
  • USER_GUILD_SETTINGS_UPDATE Not yet encountered and there is very little documentation
  • VOICE_SERVER_UPDATE Not yet encountered and there is very little documentation
@Kiskae
Copy link
Owner Author

Kiskae commented Mar 3, 2016

READY implemented with ModelReadyEvent

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

No branches or pull requests

1 participant