NAFF icon indicating copy to clipboard operation
NAFF copied to clipboard

fix: unset ready on reconnect

Open LordOfPolls opened this issue 2 years ago • 0 comments

What type of pull request is this?

  • [x] Non-breaking code change
  • [ ] Breaking code change
  • [ ] Documentation change/addition
  • [ ] Tests change

Description

Resolves #591 by unsetting ready during gateway reconnects

image

Changes

  • Add new state method called clear_ready which clears the client ready state
  • Gateway now calls clear_ready during reconnect attempts

Checklist

  • [x] I've formatted my code with Black
  • [x] I've ensured my code works on Python 3.10.x
  • [x] I've tested my code

LordOfPolls avatar Aug 10 '22 09:08 LordOfPolls