piece.aliases is not iterable
Hi everybody, I was just coding a simple bot, it has only a few, basic commands like ping-pong. I just keep getting this error, and I can't figure out where it comes out from. I got it first when I created a class which extends InteractionHandler, and now even by removing that class I keep getting it.
Any help is welcome.
This is the class I am talking about. Don't know if I'm missing something or doing something wrong.
Solution:Jump to solution
You put the InteractionHandler in the commands folder. It should go in the
interaction-handlers
folder instead.1 Reply
Solution
You put the InteractionHandler in the commands folder. It should go in the
interaction-handlers
folder instead.