You either forgot to add python to the path or are using the wrong environment.
while installing python, this option pops up.
or you simply are using the wrong environment.
above, in the environment select the python version you will be using (in the existing environment tab)
if your issue was with you not adding python to the path, after doing so, you have to run pip install discord
again. If you are unsure about "if" you have added python to the path or not, simply open your cmd prompt and type python
to check so. If it looks like the one below, then it is added to the path.
hope that helps
also, don't forget to import the following:
import discord
import discord.utils
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…