#Cog can't be found

1 messages · Page 1 of 1 (latest)

zinc saffron
#

Did you ever find a fix for this?

gloomy aspen
#

I was using python -m discord newbot and newcog to set up a basic bot and a ping cog.
In my bot's config.py I wrote:

token = "..."
cogs = ["ping"]

my folder is setup as:

master
- bot.py
- config.py
- cogs/
-- __init__.py
-- ping.py

However, the bot.py script can't seem to find my cog. It throws: Could not load extension ping due to ExtensionNotFound: Extension 'ping' could not be found.
What do I need to enter in my config.py file to add the cog?