args is never NULL in command handlers, however you should check if (!*args) - this would check first character of arguments to see if its an empty string