#can someone help me my code dose not work
1 messages · Page 1 of 1 (latest)
Traceback (most recent call last):
File "/Users/thomaskoufalis/Desktop/Bot/legalsbot.py", line 3, in <module>
from interactions.events import MessageCreate
ModuleNotFoundError: No module named 'interactions.events'
pip show discord-py-interactions in your console and show the result.
And please delete the file, you are leaking your token.
Or at least hide it when pasting.
yeah i did
Alright.
i quickly just changed it
Name: discord-py-interactions
Version: 5.11.0
Summary: Easy, simple, scalable and modular: a Python API wrapper for interactions.
Home-page: https://github.com/interactions-py/interactions.py
Author: LordOfPolls
Author-email: [email protected]
License:
Location: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages
Requires: aiohttp, attrs, discord-typings, emoji, tomli
Required-by:
thats what i got
@severe token so what do i need to do?
Can you uninstall i-py completely and reinstall?
And please don't specifically ping for help.
im on macos btw if that changes anything
yep
And did you have v4 installed previously?
because i found this https://devkiki7000.gitbook.io/discord-components/guide/getting-started went down a rabbit hole and lead me to this
but that was archived
and i dont think it works anymore
It was a different lib, not related to i-py.
I suggest uninstall everything then do a reinstall.
ill just try and do it on my pc with windows
because everything on there is new and organized
also
is there anything wrong with the code?
The code looks fine for me.
Traceback (most recent call last):
File "C:\Users\koufa\Desktop\bit\main.py", line 3, in <module>
from interactions.events import MessageCreate
ModuleNotFoundError: No module named 'interactions.events'
i tried it on my pc just fresh installed interactions
still same error
its with the code im pretty sure
it would mean such a grate deal for u to help me fix my code
Traceback (most recent call last):
File "C:\Users\koufa\Desktop\bit\main.py", line 3, in <module>
from interactions.events import MessageCreate
ModuleNotFoundError: No module named 'interactions.events'
still the same error
What if you just use interactions.events.MessageCreate in there?
Well, the problem seems to be about your python installation.
It can't even locate the interactions library now.