Skip to content

Conversation

@kyteware
Copy link
Contributor

@kyteware kyteware commented Mar 26, 2022

About

This pull request is about the gateway. It makes sure the packet isn't a WS_CLOSED_MESSAGE before trying to receive packets. Previously, the lib attempted to continuously receive packets even though they were all WS_CLOSED_MESSAGE.

Checklist

  • I've ran pre-commit to format and lint the change(s) made.
  • I've checked to make sure the change(s) work on 3.8.6 and higher.
  • This fixes/solves an Issue
  • I've made this pull request for/as: (check all that apply)
    • Documentation
    • Breaking change
    • New feature/enhancement
    • Bugfix

@EepyElvyra EepyElvyra enabled auto-merge (squash) March 26, 2022 23:30
Copy link
Contributor

@EepyElvyra EepyElvyra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. similar approach also working on the voice Websocket, I'm assuming the same behavior here.

@EepyElvyra EepyElvyra merged commit 7caf107 into interactions-py:unstable Mar 26, 2022
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

Successfully merging this pull request may close these issues.

2 participants