AttributeError: 'str' object has no attribute 'loop' #6087
Replies: 4 comments 2 replies
-
Learn the difference between classes and instances. You should be making an instance of Besides that, there are a lot of other issues with your code... |
Beta Was this translation helpful? Give feedback.
-
How would i make an instance out of a class? |
Beta Was this translation helpful? Give feedback.
-
There are too many issues with this code.
If you're having trouble with Python it is advisable to learn the fundamentals before attempting to make a bot. This repository isn't really the best place to get beginner help with Python as you're expected to know the fundamentals. Consider consulting a tutorial such as the official Python.org tutorial or one of the many resources online. |
Beta Was this translation helpful? Give feedback.
-
we could create one by doing something like myinstance = MyClient() which would create an instance of MyClient |
Beta Was this translation helpful? Give feedback.
-
I have used this for a while, but moving to pythonanywhere gave me this error:
AttributeError: 'str' object has no attribute 'loop'
this is my code:
Is there anything i can do?
Beta Was this translation helpful? Give feedback.
All reactions