Kaaz / DiscordBot

A Java Discord bot using JDA
Apache License 2.0
131 stars 53 forks source link

unknown_command is only thing displayed #48

Closed ROMVoid95 closed 5 years ago

ROMVoid95 commented 5 years ago

great bot, very good work. However, on adding just 1 simple command to the bot for self testing purposes. Every command returns a unknown_command no matter what. I don't see but 2 or 3 responses to issues here but if anyone else knows what the hell is going on, would love to know.

nateradev3 commented 5 years ago

Are you putting your command class under the emily.command package? It uses reflection to load the commands so it needs to be in that package. I added a command and it worked fine for me

ROMVoid95 commented 5 years ago

yea i did at the time, Not really sure WHAT was going on, but i just scrapped the files and started again fresh, redid step by step of that i added, and didn't get the issue again so. Still not sure lol i really appreciate the reply though