Browse Source

Fix SyntaxError from PR implementing presences in member querying

pull/6237/head
Rapptz 4 years ago
parent
commit
5c868ed871
  1. 2
      discord/gateway.py

2
discord/gateway.py

@ -636,7 +636,7 @@ class DiscordWebSocket:
} }
await self.send_as_json(payload) await self.send_as_json(payload)
async def request_chunks(self, guild_id, query=None, *, limit, user_ids=None, presences, nonce=None): async def request_chunks(self, guild_id, query=None, *, limit, user_ids=None, presences=False, nonce=None):
payload = { payload = {
'op': self.REQUEST_MEMBERS, 'op': self.REQUEST_MEMBERS,
'd': { 'd': {

Loading…
Cancel
Save