Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Commit

Permalink
🐛 Fix emotes & guild Features (#401)
Browse files Browse the repository at this point in the history
* 🐛 Emoji were import as typing

Signed-off-by: sigmanificient <[email protected]>

* ✨ Missing guild Features

Signed-off-by: sigmanificient <[email protected]>
  • Loading branch information
Sigmanificient authored Jan 21, 2022
1 parent 35b864c commit dd8349a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pincer/objects/guild/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,7 @@ class GuildFeature(Enum):
PRIVATE_THREADS = "PRIVATE_THREADS"
NEW_THREAD_PERMISSIONS = "NEW_THREAD_PERMISSIONS"
THREADS_ENABLED = "THREADS_ENABLED"
ROLE_ICONS = "ROLE_ICONS"
ANIMATED_BANNER = "ANIMATED_BANNER"
MEMBER_PROFILES = "MEMBER_PROFILES"

2 changes: 1 addition & 1 deletion pincer/objects/guild/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from aiohttp import FormData

from .channel import Channel, Thread
from ..message.emoji import Emoji
from ..message.file import File
from ...exceptions import UnavailableGuildError
from ...utils.api_object import APIObject
Expand Down Expand Up @@ -37,7 +38,6 @@
from ..user.integration import Integration
from ..voice.region import VoiceRegion
from ..events.presence import PresenceUpdateEvent
from ..message.emoji import Emoji
from ..message.sticker import Sticker
from ..user.voice_state import VoiceState
from ...client import Client
Expand Down

0 comments on commit dd8349a

Please sign in to comment.