Fix missing imports

This commit is contained in:
Rapptz 2019-02-12 20:25:16 -05:00
parent 5d78f43e55
commit 60f9ac3062

View File

@ -24,12 +24,14 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
"""
from .utils import parse_time
from .utils import parse_time, valid_icon_size
from .mixins import Hashable
from .object import Object
from .enums import ChannelType, VerificationLevel, try_enum
from collections import namedtuple
VALID_ICON_FORMATS = {"jpeg", "jpg", "webp", "png"}
class PartialInviteChannel(namedtuple('PartialInviteChannel', 'id name type')):
"""Represents a "partial" invite channel.