Python Forum
Creating Discord Bot: Unused import statement 'import discord - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Creating Discord Bot: Unused import statement 'import discord (/thread-24174.html)



Creating Discord Bot: Unused import statement 'import discord - EyeballCandy - Feb-02-2020

Hi everyone,

I'm trying to create a bot in Discord, using these tutorials
1.https://realpython.com/how-to-make-a-discord-bot-python/
2.https://www.youtube.com/watch?v=nW8c7vT6Hl4&t=182s

I'm running into an issue when importing Discord.py.
Import Discord
has the error "Unused import statement 'import discord' "
https://imgur.com/uMicV32

I'm new, so I'm very unsure what the issue is. I have the latest version of Pip and Python, and I've installed Discord.py via py -3 -m pip install -U discord.py in Terminal, and got two libraries
LIBRARIES BELOW IF NEEDED:
https://drive.google.com/open?id=1BzSemJHdWdPMPV9ec93PXaS3VnrSIGQU

I've been told to switch the interpreter, but I'm unsure what to do with that (Or if its even pertinent).

If you have a solution, please let me know. Thanks in advance!