Browse Source

Fix missing imports

pull/1896/head
Rapptz 6 years ago
parent
commit
60f9ac3062
  1. 4
      discord/invite.py

4
discord/invite.py

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

Loading…
Cancel
Save