Skip to content
  • luna's avatar
    add invite usage · 92f6e3cf
    luna authored
    users can now join guilds!
    
    invites:
     - add GET /api/v6/invites/<invite_code>
     - add DELETE /api/v6/invites/<invite_code>
     - add GET /api/v6/guilds/<guild_id>/invites
     - add GET /api/v6/channels/<channel_id>/invites
     - add POST /api/v6/invite/<invite_code>
    
    storage:
     - add verification_level to invites
     - add empty invite.guild.features
    
    gateway.state_manager:
     - add StateManager.user_states
     - give a dummy offline state on guild_states
        - this makes it possible for people to see offline members even when
           those members never logged in (since the would have no state being
           reffered to them)
    
     - gateway.websocket: use get_member_ids on lazy guild handler
     - auth: add GET /api/v6/auth/consent-required
     - dispatcher: add dispatch_user_guild and dispatch_user
     - run: use Origin header on Access-Control-Allow-Origin
    92f6e3cf