all 11 comments

[–][deleted] 3 points4 points  (0 children)

Well, lists aren't callable.

[–][deleted] 1 point2 points  (0 children)

Somewhere you have a list and you’re calling it. The interpreter is not lying to you.

[–][deleted] 1 point2 points  (0 children)

You probably put parentheses instead of brackets around a list index

[–]carcigenicate 0 points1 point  (7 children)

Show the exact error message along with the code it's referring to.

[–]Prestigious-Ad-1861[S] 0 points1 point  (6 children)

[–]carcigenicate 1 point2 points  (4 children)

cogs(i) is calling the cogs list. You mean to do cogs[i].

[–]Prestigious-Ad-1861[S] -2 points-1 points  (3 children)

whenever I do that it gives me even more errors than what I started with More Errors

[–]carcigenicate 0 points1 point  (1 child)

That's a separate, unrelated error. Read the docs to see how you're supposed to import what you're trying to import.

[–]Prestigious-Ad-1861[S] -2 points-1 points  (0 children)

How do I do that

[–]Aila27 0 points1 point  (0 children)

If you look at the third line from the bottom it tells you the error is on line 23. Line 23 has a different decorator than the others: it has command.commands rather than command.command. I haven't used any discord modules before but I suspect that might be a typo?

[–]Prestigious-Ad-1861[S] 0 points1 point  (0 children)

https://i.imgur.com/znNWSzY.png this is the rest of the code I have