PiotrDabkowski/discord-bot

Getting this error

wilburforce666 opened this issue · 1 comments

Traceback (most recent call last):
File "C:\Users\wilbu\Desktop\discord-bot-main\elevenbot.py", line 2, in
from loginModal import ModalView
File "C:\Users\wilbu\Desktop\discord-bot-main\loginModal.py", line 3, in
class LoginModal(miru.Modal):
AttributeError: module 'miru' has no attribute 'Modal'

I have installed miru etc but still getting this error. is it a python version thing? what python version are you on

it requires python 3.8 or 3.8.6. If you're on that version, check which version Hikari and miru are on.

(Reason why you're getting that error is because the Modal thing wasn't introduced until those python versions came around)