Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Creating Discord Bot: Unused import statement 'import discord
#1
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=1BzSemJ...S3VnrSIGQU

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!
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  using import with filename starting by a number followed by underscore SpongeB0B 2 90 Apr-02-2020, 07:22 AM
Last Post: snippsat
  import path SpongeB0B 5 187 Apr-01-2020, 06:29 AM
Last Post: SpongeB0B
  [split] import PIL dont work vedansh 1 85 Mar-29-2020, 10:00 AM
Last Post: Larz60+
  Importing module from a package results in import error goghvv 2 103 Mar-27-2020, 07:13 PM
Last Post: goghvv
  Import Module and Method ( dynamic ) ? JohnnyCoffee 0 74 Mar-23-2020, 04:23 PM
Last Post: JohnnyCoffee
  how to import a module which is installed to personal folder using pip install --pre? geekgeek 2 136 Mar-09-2020, 02:38 PM
Last Post: geekgeek
  module run on import? mcmxl22 3 152 Mar-02-2020, 04:37 PM
Last Post: mcmxl22
  submodule import problem deanhystad 3 331 Mar-01-2020, 01:52 PM
Last Post: deanhystad
  import PIL dont work rodink 14 452 Feb-22-2020, 08:48 PM
Last Post: snippsat
  How to keep a loop containing a web import working in python executable? coder1384 3 167 Feb-22-2020, 06:49 PM
Last Post: snippsat

Forum Jump:


Users browsing this thread: 1 Guest(s)