Skip to content
← Back to Community
Why do I get "command not found"
Profile icon
Alpacuss

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

Comments
hotnewtop
Profile icon
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?

Profile icon
19ecal

@NoelB33 .env files are not used anymore, use the sidebar https://docs.replit.com/programming-ide/storing-sensitive-information-environment-variables

Profile icon
Alpacuss

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

KeyboardInterrupt
@NoelB33

This is the error