This recently happened to another user
Have a look here and see if this fixes the problem. If it does let us know so that i can use that information to help other people.
Also try the Nightbot Troubleshooting. If your issue is still not fixed please provide the code you are using for the command and what software you are trying to use the command on.