-
Hello, sorry if this is a repetitive question. I have my main discord bot file,
And I have another file,
I want to run the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Import the functions from the other file, something like |
Beta Was this translation helpful? Give feedback.
-
@Chrovo is correct. Cogs are only used for importing bot commands from another file; not functions. |
Beta Was this translation helpful? Give feedback.
Import the functions from the other file, something like
from TwitterSentiments import find_tweets, average_sentiment
.