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

fix: prevent NoneType in guild.channels #685

Merged
merged 1 commit into from
Oct 25, 2022
Merged

fix: prevent NoneType in guild.channels #685

merged 1 commit into from
Oct 25, 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

Prevent's NoneTypes from being returned by guild.channels
image

Changes

  • Filter result of Nones before returning from guild.channels

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 23, 2022
@LordOfPolls LordOfPolls merged commit 7be7e6a into dev Oct 25, 2022
@LordOfPolls LordOfPolls deleted the none-channel branch October 25, 2022 13:36
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.

2 participants