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):
"""
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')
session_id = Field(str)
@ -151,7 +151,7 @@ class ChannelDelete(ChannelCreate):
class ChannelPinsUpdate(GatewayEvent):
"""
Sent when a channels pins are updated.
Sent when a channel's pins are updated.
"""
channel_id = Field(snowflake)
last_pin_timestamp = Field(int)
@ -175,21 +175,21 @@ class GuildBanRemove(GuildBanAdd):
class GuildEmojisUpdate(GatewayEvent):
"""
Sent when a guilds emojis are updated.
Sent when a guild's emojis are updated.
"""
pass
class GuildIntegrationsUpdate(GatewayEvent):
"""
Sent when a guilds integrations are updated.
Sent when a guild's integrations are updated.
"""
pass
class GuildMembersChunk(GatewayEvent):
"""
Sent in response to a members chunk request.
Sent in response to a member's chunk request.
"""
guild_id = Field(snowflake)
members = Field(listof(GuildMember))
@ -275,7 +275,7 @@ class MessageDeleteBulk(GatewayEvent):
@wraps_model(Presence)
class PresenceUpdate(GatewayEvent):
"""
Sent when a users presence is updated.
Sent when a user's presence is updated.
"""
guild_id = Field(snowflake)
roles = Field(listof(snowflake))

Loading…
Cancel
Save