#Help regarding import

1 messages · Page 1 of 1 (latest)

wide apex
#

as u can see there's an import statement to import the hello.py file

#

but not sure why it isn't working/showing up

#

this is the file structure

#

this is the file structure

sullen atlas
wide apex
#

Literally just reply back with hello

#

Just for test reasons

#

Not an actual command i plan to register

#

Kinda new to pycord thats all

#

And python in general

sullen atlas
#

You're trying to import another bot instance

#

Which doesn't make sense. You already have you bot instance in main.py

#

If you want to separate commands, then you need cogs, not just separate files with a new bot instance.

slender tigerBOT
#

Here's the slash cog example.

wide apex
#

mmm ok

#

so i understand making the actual command part

#

will this register when i run main.py?

#

i dont understand that bit

sullen atlas