Browse Source

Minor spelling fixes

pull/4/head
Wolfiri 9 years ago
committed by GitHub
parent
commit
f5f7b6e95c
  1. 12
      disco/gateway/events.py

12
disco/gateway/events.py

@ -87,7 +87,7 @@ def wraps_model(model, alias=None):
class Ready(GatewayEvent): class Ready(GatewayEvent):
""" """
Sent after the initial gateway handshake is complete. Contains data required Sent after the initial gateway handshake is complete. Contains data required
for bootstrapping the clients states. for bootstrapping the client's states.
""" """
version = Field(int, alias='v') version = Field(int, alias='v')
session_id = Field(str) session_id = Field(str)
@ -151,7 +151,7 @@ class ChannelDelete(ChannelCreate):
class ChannelPinsUpdate(GatewayEvent): class ChannelPinsUpdate(GatewayEvent):
""" """
Sent when a channels pins are updated. Sent when a channel's pins are updated.
""" """
channel_id = Field(snowflake) channel_id = Field(snowflake)
last_pin_timestamp = Field(int) last_pin_timestamp = Field(int)
@ -175,21 +175,21 @@ class GuildBanRemove(GuildBanAdd):
class GuildEmojisUpdate(GatewayEvent): class GuildEmojisUpdate(GatewayEvent):
""" """
Sent when a guilds emojis are updated. Sent when a guild's emojis are updated.
""" """
pass pass
class GuildIntegrationsUpdate(GatewayEvent): class GuildIntegrationsUpdate(GatewayEvent):
""" """
Sent when a guilds integrations are updated. Sent when a guild's integrations are updated.
""" """
pass pass
class GuildMembersChunk(GatewayEvent): class GuildMembersChunk(GatewayEvent):
""" """
Sent in response to a members chunk request. Sent in response to a member's chunk request.
""" """
guild_id = Field(snowflake) guild_id = Field(snowflake)
members = Field(listof(GuildMember)) members = Field(listof(GuildMember))
@ -275,7 +275,7 @@ class MessageDeleteBulk(GatewayEvent):
@wraps_model(Presence) @wraps_model(Presence)
class PresenceUpdate(GatewayEvent): class PresenceUpdate(GatewayEvent):
""" """
Sent when a users presence is updated. Sent when a user's presence is updated.
""" """
guild_id = Field(snowflake) guild_id = Field(snowflake)
roles = Field(listof(snowflake)) roles = Field(listof(snowflake))

Loading…
Cancel
Save