Defxult / discordLevelingSystem

A library to implement a leveling system into a discord bot. Contains features such as XP, level, ranks, and role awards.
MIT License
91 stars 17 forks source link

ABCMeta' object is not subscriptable #13

Closed poohzaza166 closed 2 years ago

poohzaza166 commented 2 years ago

python version 3.8.10 pycord 2.0

Traceback (most recent call last): File "/mnt/sharessd/code/python/utachi-refractor/ablelevel.py", line 3, in from discordLevelingSystem import DiscordLevelingSystem File "/home/pooh/.local/share/virtualenvs/utachi-refractor-hCTN_qea/lib/python3.8/site-packages/discordLevelingSystem/init.py", line 12, in from .announcement import LevelUpAnnouncement File "/home/pooh/.local/share/virtualenvs/utachi-refractor-hCTN_qea/lib/python3.8/site-packages/discordLevelingSystem/announcement.py", line 70, in class LevelUpAnnouncement: File "/home/pooh/.local/share/virtualenvs/utachi-refractor-hCTN_qea/lib/python3.8/site-packages/discordLevelingSystem/announcement.py", line 141, in LevelUpAnnouncement def init(self, message: Union[str, Embed]=default_message, level_up_channel_ids: Optional[Sequence[int]]=None, allowed_mentions: AllowedMentions=default_mentions, tts: bool=False, delete_after: Optional[float]=None): TypeError: 'ABCMeta' object is not subscriptable

Defxult commented 2 years ago

Please follow the appropriate format when it comes to reporting errors/bugs

C262F578-F840-43A0-90E6-A4E00C881FB8