Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

fix: handle references to a voice channel that doesnt exist #660

Merged
merged 1 commit into from
Oct 14, 2022

Conversation

LordOfPolls
Copy link
Member

What type of pull request is this?

  • Non-breaking code change
  • Breaking code change
  • Documentation change/addition
  • Tests change

Description

Handles people referencing voice_state.channel when no channel has been cached

Changes

  • check if th channel exists before operating on it

Checklist

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

@LordOfPolls LordOfPolls added the Bug::Library A bug in the library label Oct 6, 2022
@LordOfPolls LordOfPolls merged commit b6760f8 into dev Oct 14, 2022
@LordOfPolls LordOfPolls deleted the fix-voice-state branch October 14, 2022 05:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug::Library A bug in the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant