Cant import #730
Cant import
#730
Replies: 1 comment
-
Uninstall discord.py and their forks and do |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Traceback (most recent call last):
File "C:/Users/Gaming/Desktop/safe self bbot.py", line 1, in
import discord
File "C:\Users\Gaming\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord_init_.py", line 22, in
from . import abc as abc, opus as opus, utils as utils
File "C:\Users\Gaming\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\abc.py", line 62, in
from .commands import ApplicationCommand, BaseCommand, SlashCommand, UserCommand, MessageCommand, command_factory
File "C:\Users\Gaming\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\commands_init.py", line 26, in
from .context import *
File "C:\Users\Gaming\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\commands\context.py", line 31, in
from discord.interactions import Interaction, InteractionMessage, InteractionResponse
ImportError: cannot import name 'InteractionMessage' from 'discord.interactions' (C:\Users\Gaming\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\interactions.py)
I have no idea how to fix it
Beta Was this translation helpful? Give feedback.
All reactions