Ask coding questions

← Back to all posts
Why do I get "command not found"
Alpacuss

I'm new, I need help to get my music bot

Comments
hotnewtop
NoelB33

You have your bot token in this, please use a .env file. Also there’s another error so could you provide the original error you got, with the exact message and lines?

19ecal
Alpacuss

Traceback (most recent call last):
File "main.py", line 4, in <module>
import music
File "/home/runner/Music-bot/music.py", line 2, in <module>
from ext import commands
ModuleNotFoundError: No module named 'ext'

KeyboardInterrupt
@NoelB33

This is the error